Lines Matching refs:HttpError
8 pub type HttpResult<T, E = HttpError> = Result<T, E>;
15 pub struct HttpError { struct
19 impl HttpError { implementation
21 pub fn trap(err: impl Into<wasmtime::Error>) -> HttpError { in trap() argument
22 HttpError { err: err.into() } in trap()
36 impl From<ErrorCode> for HttpError { implementation
42 impl From<ResourceTableError> for HttpError { implementation
44 HttpError::trap(error) in from()
48 impl fmt::Debug for HttpError { implementation
54 impl fmt::Display for HttpError { implementation
60 impl Error for HttpError {} implementation