Expand description
Diagnostics.
Macros§
- eco_
format - Create a new
EcoString
from a format string.
Structs§
- EcoString
- An economical string with inline storage and clone-on-write semantics.
- Hinted
String - A string message with hints.
- Source
Diagnostic - An error or warning in a source file.
- Warned
- An output alongside warnings generated while producing it.
Enums§
- File
Error - An error that occurred while trying to load of a file.
- Package
Error - An error that occurred while trying to load a package.
- Severity
- The severity of a
SourceDiagnostic
. - Tracepoint
- A part of a diagnostic’s trace.
Traits§
- At
- Convert a
StrResult
orHintedStrResult
to aSourceResult
by adding span information. - Deprecation
Sink - Destination for a deprecation message when accessing a deprecated value.
- Hint
- Enrich a
StrResult
orHintedStrResult
with a hint. - Trace
- Enrich a
SourceResult
with a tracepoint.
Functions§
- format_
xml_ like_ error - Format a user-facing error message for an XML-like file format.
Type Aliases§
- File
Result - A result type with a file-related error.
- Hinted
StrResult - A result type with a string error message and hints.
- Package
Result - A result type with a package-related error.
- Source
Result - A result that can carry multiple source errors.
- StrResult
- A result type with a string error message.