little_hyper/
error.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[derive(Debug)]
pub enum Error {
    // region    : --- Request
    ParseBody,
    ParseHeading,
    // endregion : --- Request

    // region    : --- Header
    ReadHeader,
    // endregion : --- Header

    // region    : --- Little Hyper
    Listen,
    ReadStreamInfo
    // endregion : --- Little Hyper

}

pub type Result<T> = core::result::Result<T, Error>;