Exception: Worldline::Connect::SDK::V1::PlatformException
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- Worldline::Connect::SDK::V1::PlatformException
- Defined in:
- lib/worldline/connect/sdk/v1/platform_exception.rb
Overview
This exception is thrown when a response from the Worldline Global Collect platform indicates that an error occurred on the Worldline Global Collect platform while processing the request. This corresponds to a HTTP status code of 500 or 502.
Instance Attribute Summary
Attributes inherited from ApiException
#error_id, #errors, #response_body, #status_code
Instance Method Summary collapse
-
#initialize(status_code, response_body, error_id, errors, message = 'the Worldline Global Collect platform returned an error response') ⇒ PlatformException
constructor
Create a new PlatformException.
Methods inherited from ApiException
Constructor Details
#initialize(status_code, response_body, error_id, errors, message = 'the Worldline Global Collect platform returned an error response') ⇒ PlatformException
Create a new PlatformException
18 19 20 21 |
# File 'lib/worldline/connect/sdk/v1/platform_exception.rb', line 18 def initialize(status_code, response_body, error_id, errors, ='the Worldline Global Collect platform returned an error response') super(status_code, response_body, error_id, errors, ) end |