SocketException class
SocketException is an exception that is thrown when an error occurs. It contains the response from the server and the stackTrace of the error. The response is the response from the server. The stackTrace is the stack trace of the error.
- Implemented types
Constructors
- SocketException.new(SocketResponse response, StackTrace stackTrace)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- response → SocketResponse
-
The response from the server.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The stack trace of the error.
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