kvarn::prelude::utils::parse

Enum Error

source
pub enum Error {
    Http(Error),
    NoPath,
    UnexpectedEnd,
    HeaderTooLong,
    InvalidPath,
    InvalidMethod,
    InvalidVersion,
    InvalidStatusCode,
    Syntax,
    IllegalName,
    IllegalValue,
    NoHost,
}
Expand description

A general error from parsing.

Variants§

§

Http(Error)

Failed to create a [http] type.

This is often a Uri, Request, Method, or Version.

§

NoPath

No path was parsed as part of a Request

§

UnexpectedEnd

Done reading and processing

§

HeaderTooLong

Th