Exception: Worldline::Acquiring::SDK::Communication::NotFoundException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Worldline::Acquiring::SDK::Communication::NotFoundException
- Defined in:
- lib/worldline/acquiring/sdk/communication/not_found_exception.rb
Overview
Raised when a resource is not found on the Worldline Acquiring platform. This error corresponds to a 404 HTTP response.
Instance Attribute Summary collapse
-
#cause ⇒ Exception
The error that is the cause of this error.
Instance Method Summary collapse
-
#initialize(cause, message = nil) ⇒ NotFoundException
constructor
A new instance of NotFoundException.
Constructor Details
#initialize(cause, message = nil) ⇒ NotFoundException
Returns a new instance of NotFoundException.
11 12 13 14 |
# File 'lib/worldline/acquiring/sdk/communication/not_found_exception.rb', line 11 def initialize(cause, = nil) super() @cause = cause end |
Instance Attribute Details
#cause ⇒ Exception
The error that is the cause of this error.
9 10 11 |
# File 'lib/worldline/acquiring/sdk/communication/not_found_exception.rb', line 9 def cause @cause end |