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.



225
226
227
228
# File 'lib/wakame/event.rb', line 225

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

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



224
225
226
# File 'lib/wakame/event.rb', line 224

def exception
  @exception
end