Class: Wakame::Event::JobFailed
- Defined in:
- lib/wakame/event.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Attributes inherited from JobEvent
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(job_id, e) ⇒ JobFailed
constructor
A new instance of JobFailed.
Methods inherited from JobEvent
Methods inherited from Base
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
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
254 255 256 |
# File 'lib/wakame/event.rb', line 254 def exception @exception end |