Module diag
Expand description
Diagnostics.
Macros§
- Create a new
EcoString
from a format string.
Structs§
- An economical string with inline storage and clone-on-write semantics.
- A string message with hints.
- An error or warning in a source file.
- An output alongside warnings generated while producing it.
Enums§
- An error that occurred while trying to load of a file.
- An error that occurred while trying to load a package.
- The severity of a
SourceDiagnostic
. - A part of a diagnostic’s trace.
Traits§
- Destination for a deprecation message when accessing a deprecated value.
- Enrich a
StrResult
orHintedStrResult
with a hint. - Enrich a
SourceResult
with a tracepoint.
Functions§
- Format a user-facing error message for an XML-like file format.
Type Aliases§
- A result type with a file-related error.
- A result type with a string error message and hints.
- A result type with a package-related error.
- A result that can carry multiple source errors.
- A result type with a string error message.