pub fn error_from_status(status: u16, body: &str) -> RovenueErrorExpand description
Map an HTTP error status + response body to a RovenueError, preserving
the backend {"error":{"code","message"}} envelope when present.
pub fn error_from_status(status: u16, body: &str) -> RovenueErrorMap an HTTP error status + response body to a RovenueError, preserving
the backend {"error":{"code","message"}} envelope when present.