cadrumo.application.ledger.persistence_ports module¶
Application-owned persistence error vocabulary for ledger actions.
Persistence adapters translate their substrate-specific contention failures to this error at the ledger boundary. Ledger services consequently need no knowledge of the secure-object implementation to preserve guarded retries.
- exception LedgerPersistenceConflictError(message=None, *, context=None, translated_message=None)[source]¶
Bases:
CadrumoErrorA revision-guarded ledger persistence operation lost a race.
- Parameters:
- Return type:
None
- code¶