AFQueryError class

A standard way to represent errors that occur during AFAsyncQuery.

However, you can also use your own error type if you prefer.

Constructors

AFQueryError({required String message, int code = 100, dynamic custom})
AFQueryError.createCode(int code)
factory
AFQueryError.createMessage(String message)
factory

Properties

code int
getter/setter pair
custom ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
getter/setter pair
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.
override

Operators

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

Constants

noCode → const int
noMessage → const String