Exception: Ingenico::Direct::SDK::ValidationException

Inherits:
ApiException
  • Object
show all
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

Methods inherited from ApiException

#to_s

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,
               message = 'the Ingenico ePayments platform returned an incorrect request error response')
  super(status_code, response_body, error_id, errors, message)
end