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 ofSpanContext
s.
Traits§
- AddSpan 🔒
- Convenience trait for
Error
to be able to apply spans to anything. - MapErr
With 🔒Span - Convenience trait for
Result
, adding aMapErrWithSpan::map_err_inner
mapping toWithSpan::and_then
. - Span
Provider 🔒 - Trait abstracting over getting a span from an
Arena
or 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.