Exception: OnlinePayments::SDK::ReferenceException

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

Overview

This error is raised when the request refers to a resource or object that is not found by the Online Payments 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 Online Payments platform returned a reference error response') ⇒ ReferenceException

Create a new ReferenceException.



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

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