Exception: LedgerSync::Error::OperationError::PerformedOperationError

Inherits:
LedgerSync::Error::OperationError show all
Defined in:
lib/ledger_sync/error/operation_errors.rb

Instance Attribute Summary

Attributes inherited from LedgerSync::Error::OperationError

#operation

Attributes inherited from LedgerSync::Error

#message

Instance Method Summary collapse

Constructor Details

#initialize(message: nil, operation:) ⇒ PerformedOperationError

Returns a new instance of PerformedOperationError.



18
19
20
21
22
# File 'lib/ledger_sync/error/operation_errors.rb', line 18

def initialize(message: nil, operation:)
  message ||= 'Operation has already been performed. Please check the result.'

  super(message: message, operation: operation)
end