HttpException constructor
Create an exception of reference
and response.
An optional message
can be given, or it's resolved from reference
and
response.
Implementation
HttpException(Uri reference, this.response, {String? message})
: super(message ?? _message(reference, response), reference: reference);