Exception: Locomotive::Steam::RenderError
- Inherits:
-
ParsingRenderingError
- Object
- StandardError
- ParsingRenderingError
- Locomotive::Steam::RenderError
- Defined in:
- lib/locomotive/steam/errors.rb
Constant Summary
Constants inherited from ParsingRenderingError
ParsingRenderingError::LINES_RANGE
Instance Attribute Summary
Attributes inherited from ParsingRenderingError
#file, #line, #original_backtrace, #source
Instance Method Summary collapse
-
#initialize(error, file, source) ⇒ RenderError
constructor
A new instance of RenderError.
Methods inherited from ParsingRenderingError
Constructor Details
#initialize(error, file, source) ⇒ RenderError
Returns a new instance of RenderError.
48 49 50 51 52 53 54 |
# File 'lib/locomotive/steam/errors.rb', line 48 def initialize(error, file, source) = error. line = error.respond_to?(:line_number) ? error.line_number : error.line backtrace = error.backtrace super(, file, source, line, backtrace) end |