Expand description
Error handling utilities for the tinymist
crate.
Modules§
- prelude
- The error prelude.
Structs§
- Diag
Message - https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic
The
owner
andsource
fields are not included in the struct, but they could be added toErrorImpl::arguments
. - Error
- This type represents all possible errors that can occur in typst.ts
- Error
Impl - The internal error implementation.
Enums§
- Diag
Severity - The severity of a diagnostic message, following the LSP specification.
- ErrKind
- ALl kind of errors that can occur in the
tinymist
crate.
Traits§
- ErrKind
Ext - A trait to convert an error kind into an error kind.
- Ignore
Logging - A trait to add context to a result.
- With
Context - A trait to add context to a result.
- With
Context Untyped - A trait to add context to a result without a specific error type.
Type Aliases§
- Result
- The result type used in the
tinymist
crate.