superrouteErrorFromResponse function
The SuperrouteException of a refused response whose body was decoded to decoded: status, body, headers,
Retry-After and request id.
Implementation
SuperrouteException superrouteErrorFromResponse(http.Response response, Object? decoded) =>
superrouteErrorFrom(response.statusCode, decoded, null, headers: response.headers);