pub enum ExecutorErrorDetail {
MutationRequiredFieldMissing,
MutationManagedTimestampRegression,
MutationDatabaseOwnedFieldExplicit,
MutationBatchEmpty,
MutationBatchTooManyItems,
MutationBatchStagedBytesExceeded,
MutationBatchResultBytesExceeded,
MutationBatchEntityMismatch,
MutationBatchDuplicateKey,
AcceptedRowConstraintProgramCorrupt,
}Expand description
Executor-specific structured error detail.
Variants§
MutationRequiredFieldMissing
A complete insert or replacement omitted one or more required fields.
MutationManagedTimestampRegression
A logical mutation would move accepted managed time backward.
MutationDatabaseOwnedFieldExplicit
A caller explicitly authored a field owned by accepted database policy.
MutationBatchEmpty
A mixed structural mutation batch contained no operations.
MutationBatchTooManyItems
A mixed structural mutation batch exceeded its operation-count bound.
MutationBatchStagedBytesExceeded
A mixed structural mutation batch exceeded its staged-byte bound.
MutationBatchResultBytesExceeded
A mixed structural mutation result exceeded its encoded response bound.
MutationBatchEntityMismatch
A mixed structural mutation batch resolved to more than one accepted entity.
MutationBatchDuplicateKey
More than one mixed structural operation targeted the same accepted key.
AcceptedRowConstraintProgramCorrupt
Accepted row-constraint metadata or compiled state was inconsistent.
Implementations§
Source§impl ExecutorErrorDetail
impl ExecutorErrorDetail
Sourcepub const fn diagnostic_code(&self) -> DiagnosticCode
pub const fn diagnostic_code(&self) -> DiagnosticCode
Return the compact diagnostic code for this executor detail.
Sourcepub const fn diagnostic_detail(&self) -> Option<DiagnosticDetail>
pub const fn diagnostic_detail(&self) -> Option<DiagnosticDetail>
Return compact structured diagnostic detail for this executor detail.
Sourcepub const fn diagnostic_facts(&self) -> Vec<(DiagnosticFactTag, u64)>
pub const fn diagnostic_facts(&self) -> Vec<(DiagnosticFactTag, u64)>
Project safe mutation detail into canonical public numeric facts.