NoInternetConnectionException class

Exception thrown when there is no internet connection.

NoInternetConnectionException is used to indicate that the client is unable to reach the API due to a lack of network connectivity.

Inheritance

Constructors

NoInternetConnectionException(String status, String statusMessage, bool success)
Creates a NoInternetConnectionException with the given status, statusMessage, and success.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
The status code returned from the API.
finalinherited
statusMessage String
The message associated with the status code.
finalinherited
success bool
A flag indicating whether the API request was successful.
finalinherited

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