1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/lib/haml/error.rb
nex3 34619eb403 No more line number mungeing - @precompiled line numbers now sync up with template line numbers.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@680 7063305b-7217-0410-af8c-cdc13e5119b9
2007-11-26 03:26:16 +00:00

13 lines
502 B
Ruby

module Haml
# The abstract type of exception raised by Haml code.
class Error < StandardError; end
# SyntaxError is the type of exception raised when Haml encounters an
# ill-formatted document.
# It's not particularly interesting, except in that it includes Haml::Error.
class SyntaxError < Haml::Error; end
# HamlError is the type of exception raised when Haml encounters an error
# not of a syntactical nature, such as an undefined Filter.
class HamlError < Haml::Error; end
end