Exception: OnlinePayments::SDK::ReferenceException
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- OnlinePayments::SDK::ReferenceException
- Defined in:
- lib/onlinepayments/sdk/reference_exception.rb
Overview
Represents an error response from the payment platform when a non-existing or removed object is trying to be accessed.
Instance Attribute Summary
Attributes inherited from ApiException
#error_id, #errors, #response_body, #status_code
Instance Method Summary collapse
-
#initialize(status_code, response_body, error_id, errors, message = 'the payment platform returned a reference error response') ⇒ ReferenceException
constructor
Create a new ReferenceException.
Methods inherited from ApiException
Constructor Details
#initialize(status_code, response_body, error_id, errors, message = 'the payment platform returned a reference error response') ⇒ ReferenceException
Create a new ReferenceException.
13 14 15 16 |
# File 'lib/onlinepayments/sdk/reference_exception.rb', line 13 def initialize(status_code, response_body, error_id, errors, ='the payment platform returned a reference error response') super(status_code, response_body, error_id, errors, ) end |