class TransactionAlreadyProcessedError(Exception): """Exception raised when a transaction has already been processed.""" pass