Struct validations::Error [] [src]

pub struct Error<T> where
    T: Debug + Any
{ /* fields omitted */ }

An individual validation error.

Methods

impl<T> Error<T> where
    T: Debug + Any
[src]

Constructs a validation error.

Constructs a validation error with additional details.

Additional contextual information about the error, if provided.

Sets the details of this error.

A human-readable message explaining the error.

Trait Implementations

impl<T: Debug> Debug for Error<T> where
    T: Debug + Any
[src]

Formats the value using the given formatter.

impl<T> Display for Error<T> where
    T: Debug + Any
[src]

Formats the value using the given formatter. Read more

impl<T> StdError for Error<T> where
    T: Debug + Any
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more