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