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