Exception: Ingenico::Connect::SDK::CommunicationException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ingenico/connect/sdk/communication_exception.rb

Overview

This exception is used when an error occurs during network communication with the GlobalCollect platform. A common cause is a timeout while connecting or when receiving or sending data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cause) ⇒ CommunicationException

Returns a new instance of CommunicationException.



7
8
9
10
# File 'lib/ingenico/connect/sdk/communication_exception.rb', line 7

def initialize(cause)
  super()
  @cause = cause
end

Instance Attribute Details

#causeObject

The error that is the cause of this error.



13
14
15
# File 'lib/ingenico/connect/sdk/communication_exception.rb', line 13

def cause
  @cause
end