Struct apollo_client::errors::ApolloResponseError
source · [−]pub struct ApolloResponseError {
pub status: StatusCode,
pub body: String,
}Expand description
Apollo api response error, when http status is not success.
Fields
status: StatusCodeHttp response status.
body: StringHttp response body, mainly the error reason.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ApolloResponseError
impl Send for ApolloResponseError
impl Sync for ApolloResponseError
impl Unpin for ApolloResponseError
impl UnwindSafe for ApolloResponseError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more