class Compass::Compiler

Public Instance Methods

handle_exception(sass_filename, css_filename, e) click to toggle source
# File lib/guard/compass.rb, line 15
def handle_exception(sass_filename, css_filename, e)
  old_handle_exception(sass_filename, css_filename, e)
  # rethrow the exception, we need it to notificate the user!
  raise Sass::SyntaxError, "[#{File.basename(sass_filename)}:#{e.sass_line}] #{e.message}"
end
Also aliased as: old_handle_exception
old_handle_exception(sass_filename, css_filename, e)
Alias for: handle_exception