[−][src]Enum twitch_api2::helix::RequestError
Errors for HelixClient::req_get and similar functions.
Variants
UrlParseError(ParseError)
url could not be parsed
IOError(Error)
io error
DeserializeError(Error)
deserialization failed when processing request result
QuerySerializeError(Error)
Could not serialize request to query
RequestError(Error)
request failed from reqwests side
no pagination found
could not parse response from patch: {0}
{0}
helix returned error {status:?} - {error}: {message:?} when calling GET {url}
Fields of HelixRequestGetError
error: String
Error message related to status code
status: StatusCode
Status code of error, usually 400-499
message: String
Error message from Twitch
url: Url
URL to the endpoint
helix returned error {status:?} - {error}: {message:?} when calling PUT {url}: "{body}"
Fields of HelixRequestPutError
error: String
Error message related to status code
status: StatusCode
Status code of error, usually 400-499
message: String
Error message from Twitch
url: Url
URL to the endpoint
body: String
Body sent with PUT
helix returned error {status:?}: {message:?} when calling PATCH {url}: "{body}"
Fields of HelixRequestPatchError
status: StatusCode
Status code of error, usually 400-499
message: String
Error message from Twitch
url: Url
URL to the endpoint
body: String
Body sent with PUT
Trait Implementations
impl Debug for RequestError
[src]
impl Display for RequestError
[src]
impl Error for RequestError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for RequestError
[src]
impl From<Error> for RequestError
[src]
impl From<Error> for RequestError
[src]
impl From<Error> for RequestError
[src]
impl From<ParseError> for RequestError
[src]
fn from(source: ParseError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RequestError
impl Send for RequestError
impl Sync for RequestError
impl Unpin for RequestError
impl !UnwindSafe for RequestError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn backtrace(&self) -> Option<&Backtrace>
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,