Exception: Rjq::InvalidPathError
- Inherits:
-
TypeError
- Object
- StandardError
- Error
- RuntimeError
- TypeError
- Rjq::InvalidPathError
- Defined in:
- lib/rjq/errors.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Attributes inherited from RuntimeError
Instance Method Summary collapse
-
#initialize(message, result, outputs: nil) ⇒ InvalidPathError
constructor
A new instance of InvalidPathError.
Methods inherited from RuntimeError
#prepend_outputs, #take_outputs
Constructor Details
#initialize(message, result, outputs: nil) ⇒ InvalidPathError
Returns a new instance of InvalidPathError.
34 35 36 37 38 |
# File 'lib/rjq/errors.rb', line 34 def initialize(, result, outputs: nil) @result = result prepend_outputs(outputs) super() end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
32 33 34 |
# File 'lib/rjq/errors.rb', line 32 def result @result end |