Class: Wakame::Event::ActionFailed

Inherits:
ActionEvent show all
Defined in:
lib/wakame/event.rb

Instance Attribute Summary collapse

Attributes inherited from ActionEvent

#action

Attributes inherited from Base

#time

Instance Method Summary collapse

Methods inherited from ActionEvent

#log_message

Methods inherited from Base

#log_message

Constructor Details

#initialize(action, e) ⇒ ActionFailed

Returns a new instance of ActionFailed.



180
181
182
183
# File 'lib/wakame/event.rb', line 180

def initialize(action, e)
  super(action)
  @exception = e
end

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



179
180
181
# File 'lib/wakame/event.rb', line 179

def exception
  @exception
end