Exception: Locomotive::Steam::ActionError

Inherits:
ParsingRenderingError show all
Defined in:
lib/locomotive/steam/errors.rb

Constant Summary

Constants inherited from ParsingRenderingError

ParsingRenderingError::LINES_RANGE

Instance Attribute Summary collapse

Attributes inherited from ParsingRenderingError

#file, #line, #original_backtrace, #source

Instance Method Summary collapse

Methods inherited from ParsingRenderingError

#backtrace, #code_lines

Constructor Details

#initialize(error, script) ⇒ ActionError

Returns a new instance of ActionError.



62
63
64
# File 'lib/locomotive/steam/errors.rb', line 62

def initialize(error, script)
  super(error.message, nil, script, 0, error.backtrace)
end

Instance Attribute Details

#actionObject

Returns the value of attribute action.



60
61
62
# File 'lib/locomotive/steam/errors.rb', line 60

def action
  @action
end