Exception: Ingenico::Direct::SDK::NotFoundException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ingenico/direct/sdk/not_found_exception.rb

Overview

Raised when a resource is not found on the Ingenico ePayments 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.



9
10
11
12
# File 'lib/ingenico/direct/sdk/not_found_exception.rb', line 9

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



7
8
9
# File 'lib/ingenico/direct/sdk/not_found_exception.rb', line 7

def cause
  @cause
end