Structs§
- Source
Location - A human-readable representation for a span, tailored for text source.
- Span
- A source code span, used for error reporting.
- With
Span - Wrapper class for
Error, augmenting it with a list ofSpanContexts.
Traits§
- AddSpan 🔒
- Convenience trait for
Errorto be able to apply spans to anything. - MapErr
With 🔒Span - Convenience trait for
Result, adding aMapErrWithSpan::map_err_innermapping toWithSpan::and_then. - Span
Provider 🔒 - Trait abstracting over getting a span from an
Arenaor aUniqueArena.
Type Aliases§
- Span
Context - A source code span together with “context”, a user-readable description of what part of the error it refers to.