HttpCodeException constructor
HttpCodeException(
- HttpClientResponse response,
- Uri uri
Implementation
HttpCodeException(this.response, this.uri)
: super(
message:
'http request failed with status code ${response.statusCode}',
exitCode: 48);