Exception: OnlinePayments::SDK::AuthorizationException
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- OnlinePayments::SDK::AuthorizationException
- Defined in:
- lib/onlinepayments/sdk/authorization_exception.rb
Overview
Represents an error response from the payment platform when authorization failed.
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 an authorization error response') ⇒ AuthorizationException
constructor
Create a new AuthorizationException.
Methods inherited from ApiException
Constructor Details
#initialize(status_code, response_body, error_id, errors, message = 'the payment platform returned an authorization error response') ⇒ AuthorizationException
Create a new AuthorizationException.
13 14 15 16 |
# File 'lib/onlinepayments/sdk/authorization_exception.rb', line 13 def initialize(status_code, response_body, error_id, errors, ='the payment platform returned an authorization error response') super(status_code, response_body, error_id, errors, ) end |