Function telescope::api::handle_graphql_response[][src]

fn handle_graphql_response<T>(
    api_name: &'static str,
    response: Response<T>
) -> Result<T, TelescopeError>
Expand description

Handle a response from a GraphQL API. Convert any errors as necessary and extract the returned data if possible.