Skip to main content

Module error

Module error 

Source
Expand description

Structured failures and explicitly accessed, potentially sensitive native diagnostics.

KitError formats only classification, schema labels, and numeric context. Native messages, identifiers and bodies are available through KitError::native_details for deliberate inspection; they must not be copied into ordinary logs.

Structs§

ErrorContext
Safe operation context, including the location of a failed batch result row.
KitError
Structured error returned by the portable provider API.
NativeErrorDetails
Potentially sensitive native details, available only through explicit inspection.
RemoteFailure
An opaque remote failure, including failures inside successful batch or hosted results.

Enums§

ClassificationBasis
Evidence used to choose a portable classification; it does not imply retry safety.
ErrorKind
Portable failure classification. This classification does not promise retry safety.
ErrorPhase
Stage at which the failure was observed; it does not assert that execution is safe to retry.
JsonErrorCategory
JSON decoding category, retained independently of a formatted parser message.
JsonValueKind
Observed JSON value shape, including the absence of a required field.
NativeDetail
One structured native fact with its meaning preserved across providers.
Operation
Caller-visible operation associated with a failure.
ResponseDetails
Exact response observations, accessed deliberately because values may be sensitive.
ResponseViolation
A response invariant, assigned at its detection site without interpreting prose.
ValidationViolation
A Kit-owned input invariant identified without disclosing caller values.