Skip to main content

Module codes

Module codes 

Source
Expand description

Stable codes carried by StoreError::Other when this contract refuses a request before touching storage.

Constants§

BUNDLE_ACCOUNT_MISMATCH
A commit bundle carries an item that belongs to another account than the one the bundle is committed for.
IDENTITY_MISMATCH
A record disagrees with the record it addresses: for example an assistant turn whose conversation_id differs from the persisted user turn’s, or a user turn whose actor account differs from the addressed account.
INVALID_RECORD
A record violates a structural precondition of the operation: an interaction inserted in a status other than Active, an outbox entry enqueued in a status other than Pending, an empty event batch.