class Ingenico::Direct::SDK::DirectException

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.

Public Class Methods

new(status_code, response_body, error_id, errors, message = 'the Ingenico ePayments platform returned an error response') click to toggle source

Create a new GlobalCollectException @see ApiException#initialize

# File lib/ingenico/direct/sdk/direct_exception.rb, line 10
def initialize(status_code, response_body, error_id, errors,
               message = 'the Ingenico ePayments platform returned an error response')
  super(status_code, response_body, error_id, errors, message)
end