Crate heimdall_errors

Source
Expand description

Macros for auto impl From for errors

Macrosยง

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