Exception: Ingenico::Direct::SDK::ReferenceException

Inherits:
ApiException
  • Object
show all
Defined in:
lib/ingenico/direct/sdk/reference_exception.rb

Overview

This error is raised when the request refers to a resource or object that is not found by the Ingenico ePayments platform. The object referred to may not exist or it could have been removed recently.

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 a reference error response') ⇒ ReferenceException

Create a new ReferenceException.



9
10
11
12
# File 'lib/ingenico/direct/sdk/reference_exception.rb', line 9

def initialize(status_code, response_body, error_id, errors,
               message = 'the Ingenico ePayments platform returned a reference error response')
  super(status_code, response_body, error_id, errors, message)
end