Class: LedgerSync::Domains::PerformedOperationError

Inherits:
Error::OperationError
  • Object
show all
Defined in:
lib/ledger_sync/domains.rb

Instance Method Summary collapse

Constructor Details

#initialize(operation:) ⇒ PerformedOperationError

Returns a new instance of PerformedOperationError.



51
52
53
54
# File 'lib/ledger_sync/domains.rb', line 51

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