DynamiteStatusCodeException constructor
DynamiteStatusCodeException(
- Response response
Creates a new Exception from the HTTP request and response.
Implementation
DynamiteStatusCodeException(this.response)
: super(
'Invalid status code ${response.statusCode}, headers: ${response.headers}, body: ${response.body}',
response.request?.url,
);