vendor/plugins/haml/lib/haml/error.rb in radiant-0.7.2 vs vendor/plugins/haml/lib/haml/error.rb in radiant-0.8.0
- old
+ new
@@ -1,7 +1,7 @@
module Haml
# An exception raised by Haml code.
- class Error < Exception
+ class Error < StandardError
# :stopdoc:
# By default, an error is taken to refer to the line of the template
# that was being processed when the exception was raised.
# However, if line is non-nil, it + 1 is used instead.