pub fn deserialize_api_error(status: StatusCode, body: &[u8]) -> ExaErrorExpand description
Deserializes an API error from the response body
Attempts to parse the error as JSON, falling back to plain text on failure.
pub fn deserialize_api_error(status: StatusCode, body: &[u8]) -> ExaErrorDeserializes an API error from the response body
Attempts to parse the error as JSON, falling back to plain text on failure.