Skip to main content

ApiError

Type Alias ApiError 

pub type ApiError = ApiError;
Expand description

Error alias for backwards compatibility, prefer ApiError instead.

Aliased Type§

pub enum ApiError {
    Reqwest(Error),
    ReqwestMiddleware(Error),
    Serde(Error),
    Io(Error),
    Response(ResponseContent),
}

Variants§

§

Reqwest(Error)

Error from the reqwest HTTP client.

§

ReqwestMiddleware(Error)

Error from the reqwest middleware.

§

Serde(Error)

JSON serialization/deserialization error.

§

Io(Error)

I/O error.

§

Response(ResponseContent)

API returned an error response.