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.



163
164
165
166
# File 'lib/wakame/event.rb', line 163

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

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



162
163
164
# File 'lib/wakame/event.rb', line 162

def exception
  @exception
end