Skip to main content

Module error

Module error 

Source
Expand description

Error carries a structured Diagnostic plus the source fragment needed to point a user-visible message at the offending span. Every user-facing failure goes through it: returning a bare string from deeper code is what makes a diagnostic lose its 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