Crate error_enum_core

Crate error_enum_core 

Source
Expand description

§error-enum-core

A core crate for error-enum providing traits and implementations for error enums with rich diagnostics support.

Please refer to error-enum and its documentation for more details.

Structs§

LineIndexer
An Indexer that stores ending positions of every line (including trailing newlines).
SimpleSpan
A simple implementation of Span.

Enums§

Kind
Enum representing the kind of an error.

Traits§

ErrorType
Trait for error types generated by error_type! macro and ErrorType derive macro.
Indexer
A indexable string.
Span
Trait for span types used in error enums.