Exception: LedgerSync::Error::SyncError::NotPerformedError

Inherits:
LedgerSync::Error::SyncError show all
Defined in:
lib/ledger_sync/error/sync_errors.rb

Instance Attribute Summary

Attributes inherited from LedgerSync::Error::SyncError

#sync

Attributes inherited from LedgerSync::Error

#message

Instance Method Summary collapse

Constructor Details

#initialize(message: nil, sync:) ⇒ NotPerformedError

Returns a new instance of NotPerformedError.



14
15
16
17
18
# File 'lib/ledger_sync/error/sync_errors.rb', line 14

def initialize(message: nil, sync:)
  message ||= 'Sync has not been performed.  Call perform before retrieving the result.'

  super(message: message, sync: sync)
end