fromException static method
Implementation
static HttpRequestContext fromException(ApiException exception) {
return HttpRequestContext(
method: exception.method,
url: exception.url,
responseStatusCode: exception.code.toString(),
userAgent: HttpClient().userAgent,
referrer: "",
remoteIp: "");
}