Exception: EcfDgii::EcfError
- Inherits:
-
StandardError
- Object
- StandardError
- EcfDgii::EcfError
- Defined in:
- lib/ecf_dgii/exceptions.rb
Overview
Base error class for ECF SDK errors.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
The full EcfResponse object containing details about the error.
Instance Method Summary collapse
-
#initialize(message, response = nil) ⇒ EcfError
constructor
A new instance of EcfError.
Constructor Details
#initialize(message, response = nil) ⇒ EcfError
Returns a new instance of EcfError.
7 8 9 10 |
# File 'lib/ecf_dgii/exceptions.rb', line 7 def initialize(, response = nil) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
The full EcfResponse object containing details about the error.
5 6 7 |
# File 'lib/ecf_dgii/exceptions.rb', line 5 def response @response end |