HttpError class

Error thrown when an HTTP request fails.

Constructors

HttpError(String errorMessage, num statusCode)
Constructs a new instance. [...]

Properties

message → String
final
statusCode → num
The HTTP status code represented by this error.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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