Skip to main content

Module error

Module error 

Source
Expand description

The error and diagnostic contract for the kernel.

Defines the Error enum, the Result alias, and the Diagnostic and Severity types that every kernel contract and library reports against.

Structs§

Diagnostic
A structured diagnostic message with optional source location.

Enums§

Error
The kernel error type reported by every contract and library.
Severity
The severity level of a Diagnostic.

Type Aliases§

Result
The kernel result alias, defaulting the error type to Error.