Exception: Worldline::Connect::SDK::V1::ReferenceException

Inherits:
ApiException
  • Object
show all
Defined in:
lib/worldline/connect/sdk/v1/reference_exception.rb

Overview

Represents an error response from the Worldline Global Collect platform when a non-existing or removed object is trying to be accessed.

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 Worldline Global Collect platform returned a reference error response') ⇒ ReferenceException

Create a new ReferenceException.



16
17
18
19
# File 'lib/worldline/connect/sdk/v1/reference_exception.rb', line 16

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