ConnectionException class final
The server could not be reached, or did not answer in time.
- Inheritance
-
- Object
- DaravelException
- ConnectionException
Constructors
- ConnectionException(String message, {bool isTimeout = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTimeout → bool
-
Whether the request was sent and the answer did not come in time: it
may have been processed, unlike a connection that was refused or
reset before anything was sent, so a caller retrying must not
assume it was not.
final
- message → String
-
Human readable description of the failure.
finalinherited
- 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