Exception: LedgerSync::Error::LedgerError
- Inherits:
-
LedgerSync::Error
- Object
- StandardError
- LedgerSync::Error
- LedgerSync::Error::LedgerError
- Defined in:
- lib/ledger_sync/error/ledger_errors.rb
Direct Known Subclasses
AuthenticationError, AuthorizationError, ConfigurationError, LedgerValidationError, MissingLedgerError, ThrottleError, UnknownURLFormat
Defined Under Namespace
Classes: AuthenticationError, AuthorizationError, ConfigurationError, LedgerValidationError, MissingLedgerError, ThrottleError, UnknownURLFormat
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Attributes inherited from LedgerSync::Error
Instance Method Summary collapse
-
#initialize(client:, message:, response: nil) ⇒ LedgerError
constructor
A new instance of LedgerError.
Constructor Details
#initialize(client:, message:, response: nil) ⇒ LedgerError
Returns a new instance of LedgerError.
8 9 10 11 12 |
# File 'lib/ledger_sync/error/ledger_errors.rb', line 8 def initialize(client:, message:, response: nil) @client = client @response = response super(message: ) end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/ledger_sync/error/ledger_errors.rb', line 6 def client @client end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/ledger_sync/error/ledger_errors.rb', line 6 def response @response end |