2007-01-27 10:29:14 +00:00
|
|
|
module Haml
|
|
|
|
# The abstract type of exception raised by Haml code.
|
2007-11-26 03:26:16 +00:00
|
|
|
class Error < StandardError; end
|
2007-01-27 10:29:14 +00:00
|
|
|
|
2007-01-31 06:38:23 +00:00
|
|
|
# SyntaxError is the type of exception raised when Haml encounters an
|
2007-01-27 10:29:14 +00:00
|
|
|
# ill-formatted document.
|
|
|
|
# It's not particularly interesting, except in that it includes Haml::Error.
|
2007-11-26 03:26:16 +00:00
|
|
|
class SyntaxError < Haml::Error; end
|
2007-01-31 06:38:23 +00:00
|
|
|
|
|
|
|
# HamlError is the type of exception raised when Haml encounters an error
|
|
|
|
# not of a syntactical nature, such as an undefined Filter.
|
2007-11-26 03:26:16 +00:00
|
|
|
class HamlError < Haml::Error; end
|
2007-01-27 10:29:14 +00:00
|
|
|
end
|