Skip to main content

OperationOutcomeError

Derive Macro OperationOutcomeError 

#[derive(OperationOutcomeError)]
{
    // Attributes available to this derive:
    #[fatal]
    #[error]
    #[warning]
    #[information]
    #[from]
}
Expand description

Derives the OperationOutcomeError trait for an enum.

ยงPanics

This macro will panic at compile time if it is applied to a struct or a union, as it can only be derived from an enum definition.