FetchError class sealed

Base class for all fetch-related errors.

Provides structured error information including the request key, status code, and timing information.

Implemented types
Implementers
Annotations

Properties

cause Object?
The underlying cause, if any.
final
elapsed Duration?
Time elapsed before the error occurred.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable error message.
final
requestKey RequestKey?
The request key that failed, if available.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Stack trace from the underlying error.
final
statusCode int?
HTTP status code, if applicable.
final

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