Exception: ExperianAddressValidation::Errors::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- ExperianAddressValidation::Errors::ResponseError
- Defined in:
- lib/errors/response_error.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status:, body:) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(status:, body:) ⇒ ResponseError
Returns a new instance of ResponseError.
8 9 10 11 12 13 |
# File 'lib/errors/response_error.rb', line 8 def initialize(status:, body:) @status = status @body = body super() end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
6 7 8 |
# File 'lib/errors/response_error.rb', line 6 def body @body end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/errors/response_error.rb', line 6 def status @status end |