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.



186
187
188
189
# File 'lib/wakame/event.rb', line 186

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

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



185
186
187
# File 'lib/wakame/event.rb', line 185

def exception
  @exception
end