Exception: Committee::InvalidRequest
- 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) ⇒ InvalidRequest
constructor
A new instance of InvalidRequest.
Constructor Details
#initialize(error_message = nil, original_error: nil) ⇒ InvalidRequest
Returns a new instance of InvalidRequest.
13 14 15 16 |
# File 'lib/committee/errors.rb', line 13 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.
11 12 13 |
# File 'lib/committee/errors.rb', line 11 def original_error @original_error end |