Exception: Committee::InvalidResponse
- Defined in:
- lib/committee/errors.rb
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(error_message = nil, original_error: nil) ⇒ InvalidResponse
constructor
A new instance of InvalidResponse.
Constructor Details
#initialize(error_message = nil, original_error: nil) ⇒ InvalidResponse
Returns a new instance of InvalidResponse.
22 23 24 25 |
# File 'lib/committee/errors.rb', line 22 def initialize(=nil, original_error: nil) @original_error = original_error super() end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
20 21 22 |
# File 'lib/committee/errors.rb', line 20 def original_error @original_error end |