Expand description
Diagnostics.
Macros§
- eco_
format  - Create a new 
EcoStringfrom 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 
StrResultorHintedStrResultto aSourceResultby adding span information. - Deprecation
Sink  - Destination for a deprecation message when accessing a deprecated value.
 - Hint
 - Enrich a 
StrResultorHintedStrResultwith a hint. - Trace
 - Enrich a 
SourceResultwith 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.