pub fn error_from_response(status_code: u16, body: &[u8]) -> TesseraErrorExpand description
Build the appropriate TesseraError from an error response.
Prefers the {"error": "<code>"} body; falls back to the HTTP status.
pub fn error_from_response(status_code: u16, body: &[u8]) -> TesseraErrorBuild the appropriate TesseraError from an error response.
Prefers the {"error": "<code>"} body; falls back to the HTTP status.