Exception: Launch::JobError
- Defined in:
- lib/launch/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#job ⇒ Object
readonly
Returns the value of attribute job.
Instance Method Summary collapse
-
#initialize(job, message = nil) ⇒ JobError
constructor
A new instance of JobError.
Constructor Details
#initialize(job, message = nil) ⇒ JobError
Returns a new instance of JobError.
8 9 10 11 |
# File 'lib/launch/errors.rb', line 8 def initialize(job, = nil) @job = job super() end |
Instance Attribute Details
#job ⇒ Object (readonly)
Returns the value of attribute job.
6 7 8 |
# File 'lib/launch/errors.rb', line 6 def job @job end |