Crate heimdall_errors

source ·
Expand description

Macros for auto impl From for errors

Macros

Implement the From trait for an struct with kind structure
Implement the From trait for an enum.
Implement the From trait for an struct with an specific structure, with ErrorKind, and message attributes.
Implement the From trait for an struct with an specific structure.
Generate the From trait implementation for an custom enum error using ToString trait.