Module darling::error[][src]

Expand description

The darling::Error type and its 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

Error

An error encountered during attribute parsing.

IntoIter

An iterator that moves out of an Error.

Type Definitions

Result

An alias of Result specific to attribute parsing.