class Sass::SyntaxError

def exception_to_css(e, options)

Raises:
  • (Exception) - `e`, if the

Returns:
  • (String) - The error report

Parameters:
  • options ({Symbol => Object}) -- The options passed to {Sass::Engine#initialize}
  • e (Exception) --
def exception_to_css(e, options)
  raise e unless options[:full_exception]
  header = header_string(e, options)
  <<END
er}
ace:\n#{e.backtrace.join("\n")}
efore {
e-space: pre;
-family: monospace;
ent: "#{header.gsub('"', '\"').gsub("\n", '\\A ')}"; }
end