Skip to main content

Crate icydb_diagnostic_code

Crate icydb_diagnostic_code 

Source
Expand description

Module: lib Responsibility: compact diagnostic identity and public numeric error-code mapping. Does not own: rich diagnostic prose, Candid wire types, or runtime error construction. Boundary: maps rich internal diagnostic categories to stable compact public codes.

This crate intentionally contains no rich diagnostic prose or Candid wire types. Production canister builds collapse diagnostics to numeric wire codes before they cross the public canister boundary. Debug output is numeric for the same reason: host tooling can recover labels from the code table without making every wasm canister retain those labels.

Structs§

Diagnostic
Diagnostic
ErrorCode
ErrorCode

Enums§

DiagnosticCode
DiagnosticCode
DiagnosticDetail
DiagnosticDetail
ErrorClass
ErrorClass
ErrorOrigin
ErrorOrigin
QueryErrorKind
QueryErrorKind
QueryProjectionCode
QueryProjectionCode
QueryResultShapeCode
QueryResultShapeCode
RuntimeBoundaryCode
RuntimeBoundaryCode
RuntimeErrorKind
RuntimeErrorKind
SchemaDdlAdmissionCode
SchemaDdlAdmissionCode
SqlFeatureCode
SqlFeatureCode
SqlLoweringCode
SqlLoweringCode
SqlSurfaceMismatchCode
SqlSurfaceMismatchCode
SqlWriteBoundaryCode
SqlWriteBoundaryCode