FetchException class

Throw when an error occurs fetching a resource.

Inheritance

Constructors

FetchException(String message)
ctor
FetchException.fromException(SocketException e)
Create an exception from a SocketException
FetchException.fromHttpError(int? errorCode, String reasonPhrase)
Create a FetchException as the result of a HTTP error.

Properties

cause Object?
If DCliException is wrapping another exception then this is the exeception that is wrapped.
finalinherited
errorCode int?
If this FetchException occured due to an OSError then this contains the underlying error.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTraceImpl
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printStackTrace() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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