Exception: Igniter::LedgerClient::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Igniter::LedgerClient::Error
- Defined in:
- lib/igniter/ledger_client/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#request_id ⇒ Object
readonly
Returns the value of attribute request_id.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response: nil, request_id: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, response: nil, request_id: nil) ⇒ Error
Returns a new instance of Error.
8 9 10 11 12 |
# File 'lib/igniter/ledger_client/error.rb', line 8 def initialize(, response: nil, request_id: nil) super() @response = response @request_id = request_id end |
Instance Attribute Details
#request_id ⇒ Object (readonly)
Returns the value of attribute request_id.
6 7 8 |
# File 'lib/igniter/ledger_client/error.rb', line 6 def request_id @request_id end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/igniter/ledger_client/error.rb', line 6 def response @response end |