Module darling_core::error
source · Expand description
The darling::Error
type, the multiple error Accumulator
, and their internals.
Error handling is one of the core values of darling
; creating great errors is hard and
never the reason that a proc-macro author started writing their crate. As a result, the
Error
type in darling
tries to make adding span information, suggestions, and other
help content easy when manually implementing darling
traits, and automatic when deriving
them.
Structs§
- Accumulator for errors, for helping call
Error::multiple
. - An error encountered during attribute parsing.
- An iterator that moves out of an
Error
.
Type Aliases§
- An alias of
Result
specific to attribute parsing.