Skip to main content

Crate haste_fhir_operation_error_derive

Crate haste_fhir_operation_error_derive 

Source
Expand description

#[derive(OperationOutcomeError)] for error enums. Each variant lists the issues it answers with; the enum then converts into an OperationOutcomeError, and a #[from] field makes it convert from the error it wraps.

Derive Macrosยง

OperationOutcomeError
Derives From<YourEnum> for OperationOutcomeError.