Module error

Source
Expand description

Error handling utilities for the tinymist crate.

Modules§

prelude
The error prelude.

Structs§

DiagMessage
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic The owner and source fields are not included in the struct, but they could be added to ErrorImpl::arguments.
Error
This type represents all possible errors that can occur in typst.ts
ErrorImpl
The internal error implementation.

Enums§

DiagSeverity
The severity of a diagnostic message, following the LSP specification.
ErrKind
ALl kind of errors that can occur in the tinymist crate.

Traits§

ErrKindExt
A trait to convert an error kind into an error kind.
IgnoreLogging
A trait to add context to a result.
WithContext
A trait to add context to a result.
WithContextUntyped
A trait to add context to a result without a specific error type.

Type Aliases§

Result
The result type used in the tinymist crate.