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.
203 204 205 206 |
# File 'lib/wakame/event.rb', line 203 def initialize(job_id, e) super(job_id) @exception = e end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
202 203 204 |
# File 'lib/wakame/event.rb', line 202 def exception @exception end |