RequestFailure class
Thrown when the server returns a non-successful response.
- Implemented types
Constructors
- RequestFailure(Response rawResponse)
Properties
-
errors
→ List<
ErrorObject> -
Error objects returned by the server
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpResponse → Response
-
The raw HTTP response
no setter
-
meta
→ Map<
String, Object?> -
Top-level meta data
final
- rawResponse → Response
-
The raw JSON:API 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited