Exception: Rjq::InvalidPathError

Inherits:
TypeError show all
Defined in:
lib/rjq/errors.rb

Instance Attribute Summary collapse

Attributes inherited from RuntimeError

#outputs

Instance Method Summary collapse

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(message, result, outputs: nil)
  @result = result
  prepend_outputs(outputs)
  super(message)
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



32
33
34
# File 'lib/rjq/errors.rb', line 32

def result
  @result
end