Exception: Worldline::Acquiring::SDK::Communication::CommunicationException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Worldline::Acquiring::SDK::Communication::CommunicationException
- Defined in:
- lib/worldline/acquiring/sdk/communication/communication_exception.rb
Overview
This exception is used when an error occurs during network communication with the Worldline Acquiring platform. A common cause is a timeout while connecting or when receiving or sending data.
Instance Attribute Summary collapse
-
#cause ⇒ Exception
The error that is the cause of this error.
Instance Method Summary collapse
-
#initialize(cause) ⇒ CommunicationException
constructor
A new instance of CommunicationException.
Constructor Details
#initialize(cause) ⇒ CommunicationException
Returns a new instance of CommunicationException.
11 12 13 14 |
# File 'lib/worldline/acquiring/sdk/communication/communication_exception.rb', line 11 def initialize(cause) 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/communication_exception.rb', line 9 def cause @cause end |