Exception: Ingenico::Connect::SDK::NotFoundException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ingenico/connect/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 = FALSE) ⇒ NotFoundException

Returns a new instance of NotFoundException.



7
8
9
10
11
12
13
14
# File 'lib/ingenico/connect/sdk/not_found_exception.rb', line 7

def initialize(cause, message=FALSE)
  if message
    super(message)
  else
    super
  end
  @cause = cause
end

Instance Attribute Details

#causeObject

The error that is the cause of this error.



17
18
19
# File 'lib/ingenico/connect/sdk/not_found_exception.rb', line 17

def cause
  @cause
end