class Sass::SyntaxError
def exception_to_css(e, options)
-
(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.gsub("*/", "*\\/")} ace:\n#{e.backtrace.join("\n").gsub("*/", "*\\/")} efore { e-space: pre; -family: monospace; ent: "#{header.gsub('"', '\"').gsub("\n", '\\A ')}"; } end