Exception: LedgerSync::Error::OperationError::PerformedOperationError
- Inherits:
-
LedgerSync::Error::OperationError
- Object
- StandardError
- LedgerSync::Error
- LedgerSync::Error::OperationError
- LedgerSync::Error::OperationError::PerformedOperationError
- Defined in:
- lib/ledger_sync/error/operation_errors.rb
Instance Attribute Summary
Attributes inherited from LedgerSync::Error::OperationError
Attributes inherited from LedgerSync::Error
Instance Method Summary collapse
-
#initialize(operation:, message: nil, response: nil) ⇒ PerformedOperationError
constructor
A new instance of PerformedOperationError.
Constructor Details
#initialize(operation:, message: nil, response: nil) ⇒ PerformedOperationError
Returns a new instance of PerformedOperationError.
20 21 22 23 24 25 26 27 28 |
# File 'lib/ledger_sync/error/operation_errors.rb', line 20 def initialize(operation:, message: nil, response: nil) ||= 'Operation has already been performed. Please check the result.' super( message: , operation: operation, response: response ) end |