Exception: Ingenico::Direct::SDK::DirectException
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- Ingenico::Direct::SDK::DirectException
- Defined in:
- lib/ingenico/direct/sdk/direct_exception.rb
Overview
This exception is thrown when a response from the Ingenico ePayments platform indicates that an error occurred on the Ingenico ePayments platform while processing the request. This corresponds to a HTTP status code of 500 or 502.
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 Ingenico ePayments platform returned an error response') ⇒ DirectException
constructor
Create a new GlobalCollectException.
Methods inherited from ApiException
Constructor Details
#initialize(status_code, response_body, error_id, errors, message = 'the Ingenico ePayments platform returned an error response') ⇒ DirectException
Create a new GlobalCollectException
10 11 12 13 |
# File 'lib/ingenico/direct/sdk/direct_exception.rb', line 10 def initialize(status_code, response_body, error_id, errors, = 'the Ingenico ePayments platform returned an error response') super(status_code, response_body, error_id, errors, ) end |