Enum apollo_client::errors::ApolloClientError
source · pub enum ApolloClientError {
Utf8(Utf8Error),
Http(Error),
Reqwest(Error),
SerdeJson(Error),
IniParse(ParseError),
ApolloResponse(ApolloResponseError),
UrlCannotBeABase,
}
Expand description
Crate level error.
Variants§
Utf8(Utf8Error)
Http(Error)
Reqwest(Error)
SerdeJson(Error)
IniParse(ParseError)
Available on crate feature
conf
only.ApolloResponse(ApolloResponseError)
UrlCannotBeABase
Trait Implementations§
source§impl Debug for ApolloClientError
impl Debug for ApolloClientError
source§impl Display for ApolloClientError
impl Display for ApolloClientError
source§impl Error for ApolloClientError
impl Error for ApolloClientError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ApolloResponseError> for ApolloClientError
impl From<ApolloResponseError> for ApolloClientError
source§fn from(source: ApolloResponseError) -> Self
fn from(source: ApolloResponseError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ApolloClientError
impl From<Error> for ApolloClientError
source§impl From<Error> for ApolloClientError
impl From<Error> for ApolloClientError
source§impl From<Error> for ApolloClientError
impl From<Error> for ApolloClientError
source§impl From<ParseError> for ApolloClientError
impl From<ParseError> for ApolloClientError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApolloClientError
impl !RefUnwindSafe for ApolloClientError
impl Send for ApolloClientError
impl Sync for ApolloClientError
impl Unpin for ApolloClientError
impl !UnwindSafe for ApolloClientError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more