Enum twitch_api2::helix::HelixRequestGetError[][src]

pub enum HelixRequestGetError {
    Error {
        error: String,
        status: StatusCode,
        message: String,
        uri: Uri,
    },
    Utf8Error(Vec<u8>, Utf8ErrorUri),
    DeserializeError(StringErrorUri),
    InvalidUri(InvalidUri),
}
This is supported on crate feature helix only.

Could not parse GET response

Variants

Error

helix returned error {status:?} - {error}: {message:?} when calling GET {uri}

Fields of Error

error: String

Error message related to status code

status: StatusCode

Status code of error, usually 400-499

message: String

Error message from Twitch

uri: Uri

URI to the endpoint

Utf8Error(Vec<u8>, Utf8ErrorUri)

could not parse response as utf8 when calling GET {2}

DeserializeError(StringErrorUri)

deserialization failed when processing request response calling GET {2} with response: {0:?}

InvalidUri(InvalidUri)

Could not get URI for request

Trait Implementations

impl Debug for HelixRequestGetError[src]

impl Display for HelixRequestGetError[src]

impl Error for HelixRequestGetError[src]

impl<RE: Error + Send + Sync + 'static> From<HelixRequestGetError> for ClientRequestError<RE>[src]

impl From<InvalidUri> for HelixRequestGetError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]