Exception: Less::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Less::ParseError
- Defined in:
- lib/less/parser.rb
Overview
Thrown whenever an error occurs parsing and/or serializing less source. It is intended to wrap a native V8::JSError
Instance Method Summary collapse
-
#backtrace ⇒ Array
The backtrace frames.
-
#initialize(error) ⇒ ParseError
constructor
Copies over `error`'s message and backtrace.
Constructor Details
#initialize(error) ⇒ ParseError
Copies over `error`'s message and backtrace
100 101 102 103 |
# File 'lib/less/parser.rb', line 100 def initialize(error) super(error.) @backtrace = error.backtrace end |
Instance Method Details
#backtrace ⇒ Array
Returns the backtrace frames.
106 107 108 |
# File 'lib/less/parser.rb', line 106 def backtrace @backtrace end |