Module 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.

Modules§

kind 🔒

Structs§

Accumulator
Accumulator for errors, for helping call Error::multiple.
Error
An error encountered during attribute parsing.
IntoIter
An iterator that moves out of an Error.

Enums§

IntoIterEnum 🔒

Type Aliases§

Result
An alias of Result specific to attribute parsing.