Enum params::ParamsError [] [src]

pub enum ParamsError {
    BodyError(BodyError),
    UrlDecodingError(UrlDecodingError),
    IoError(Error),
    InvalidPath,
    CannotAppend,
    CannotInsert,
    NotJsonObject,
}

An error representing any of the possible errors that can occur during parameter processing.

Variants

An error from parsing the request body.

An error from parsing URL encoded data.

An I/O error from reading a multipart/form-data request body to temporary files.

Invalid parameter path.

Tried to append to a non-array value.

Tried to insert into a non-map value.

Tried to make a Map from a non-object root JSON value.

Trait Implementations

impl Debug for ParamsError
[src]

Formats the value using the given formatter.

impl Display for ParamsError
[src]

Formats the value using the given formatter.

impl StdError for ParamsError
[src]

A short description of the error. Read more

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

impl From<BodyError> for ParamsError
[src]

Performs the conversion.

impl From<Error> for ParamsError
[src]

Performs the conversion.