Skip to main content

Module error

Module error 

Source
Expand description

Diagnostic and error machinery used by every other crate in the workspace. The Error type carries a structured Diagnostic plus the source-fragment context needed to render a user-visible message that points at the offending span; the rendering, the serde shape, and the helper macros that simplify producing one all live here.

Anything that surfaces a failure to a user goes through this type. Returning a bare string from deeper code is what causes a diagnostic to lose its source span between layers.

Modules§

macro
render
util

Structs§

Diagnostic
DiagnosticColumn
Error
NumberOutOfRangeDescriptor
OperatorChainEntry

Enums§

AstErrorKind
AuthErrorKind
BinaryOp
BlobEncodingKind
ConstraintKind
FunctionErrorKind
LogicalOp
NetworkErrorKind
OperandCategory
ProcedureErrorKind
RuntimeErrorKind
TemporalKind
TypeError
UnaryOp

Traits§

IntoDiagnostic