[][src]Trait verify::Error

pub trait Error: Sized + Error + AddAssign {
    fn custom<T: Display>(error: T) -> Self;
}

The errors returned by validators must implement this trait.

The AddAssign bound is required in order to support validators that return multiple errors.

Required methods

fn custom<T: Display>(error: T) -> Self

Values that are being validated can report errors that are not related to the validators.

Loading content...

Implementors

impl<S: Span> Error for Errors<S>[src]

Loading content...