Class: Wakame::Event::JobFailed

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

Instance Attribute Summary collapse

Attributes inherited from JobEvent

#job_id

Attributes inherited from Base

#time

Instance Method Summary collapse

Methods inherited from JobEvent

#log_message

Methods inherited from Base

#log_message

Constructor Details

#initialize(job_id, e) ⇒ JobFailed

Returns a new instance of JobFailed.



255
256
257
258
# File 'lib/wakame/event.rb', line 255

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

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



254
255
256
# File 'lib/wakame/event.rb', line 254

def exception
  @exception
end