Type Alias axum_valid::garde::GardeRejection
source · pub type GardeRejection<E> = ValidationRejection<Report, E>;
Expand description
GardeRejection
is returned when the Garde
extractor fails.
Aliased Type§
enum GardeRejection<E> {
Valid(Report),
Inner(E),
}
Variants§
Valid(Report)
Valid
variant captures errors related to the validation logic.
Inner(E)
Inner
variant represents potential errors that might occur within the inner extractor.