OnHttpError typedef

OnHttpError = void Function(int statusCode, ClientResponse response)

Callback for HTTP error responses (non-2xx that aren't exceptions).

Implementation

typedef OnHttpError = void Function(int statusCode, ClientResponse response);