RequestException class final

A 4xx or 5xx response, thrown by ClientResponse.throwIfFailed.

Inheritance

Constructors

RequestException(ClientResponse response)
Thrown by throw() and its forms for a failed response.

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
Human readable description of the failure.
finalinherited
response → ClientResponse
The failed response.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited