RequestFailure class

An exception that occurred during the handling of a request that requires that an error be returned to the server.

Clients may not extend, implement or mix-in this class.

Implemented types

Constructors

RequestFailure(RequestError error)
Initialize a newly created exception to return a response with the given error.

Properties

error RequestError
A description of the error that was encountered.
final
hashCode int
The hash code for this object.
no setterinherited
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