class Sass::SyntaxError

def exception_to_css(e, line_offset = 1)

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

Returns:
  • (String) - The error report

Parameters:
  • line_offset (Integer) -- The number of the first line of the Sass template.
  • e (Exception) --
def exception_to_css(e, line_offset = 1)
  header = header_string(e, line_offset)
  <<END
er.gsub('*/', '*\\/')}
ace:\n#{e.backtrace.join("\n").gsub('*/', '*\\/')}
efore {
e-space: pre;
-family: monospace;
ent: "#{header.gsub('"', '\"').gsub("\n", '\\A ')}"; }
end