Exception: Worldline::Acquiring::SDK::Communication::NotFoundException

Inherits:
RuntimeError
  • Object
show all
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

Instance Method Summary collapse

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, message = nil)
  super(message)
  @cause = cause
end

Instance Attribute Details

#causeException

The error that is the cause of this error.

Returns:

  • (Exception)

    the current value of cause



9
10
11
# File 'lib/worldline/acquiring/sdk/communication/not_found_exception.rb', line 9

def cause
  @cause
end