Exception: Ingenico::Direct::SDK::ValidationException
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- Ingenico::Direct::SDK::ValidationException
- Defined in:
- lib/ingenico/direct/sdk/validation_exception.rb
Overview
Raised when the request sent to the Ingenico ePayments platform returned a HTTP response with status code 400. This indicates the request received by the Ingenico ePayments platform was malformed.
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 incorrect request error response') ⇒ ValidationException
constructor
Create a new ValidationException.
Methods inherited from ApiException
Constructor Details
#initialize(status_code, response_body, error_id, errors, message = 'the Ingenico ePayments platform returned an incorrect request error response') ⇒ ValidationException
Create a new ValidationException
9 10 11 12 |
# File 'lib/ingenico/direct/sdk/validation_exception.rb', line 9 def initialize(status_code, response_body, error_id, errors, = 'the Ingenico ePayments platform returned an incorrect request error response') super(status_code, response_body, error_id, errors, ) end |