SyncResolveErrorCode enum

Protocol network resolution errors.

These errors will be reported via the error handlers of the affected sessions. This enum is deprecated and it will be removed. Use SyncWebSocketErrorCode instead.

Inheritance
Annotations
  • @Deprecated("Use SyncWebSocketErrorCode instead")

Constructors

SyncResolveErrorCode(int code)
const

Values

hostNotFound → const SyncResolveErrorCode

Host not found (authoritative).

SyncResolveErrorCode(1)
hostNotFoundTryAgain → const SyncResolveErrorCode

Host not found (non-authoritative).

SyncResolveErrorCode(2)
noData → const SyncResolveErrorCode

The query is valid but does not have associated address data.

SyncResolveErrorCode(3)
noRecovery → const SyncResolveErrorCode

A non-recoverable error occurred.

SyncResolveErrorCode(4)
serviceNotFound → const SyncResolveErrorCode

The service is not supported for the given socket type.

SyncResolveErrorCode(5)
socketTypeNotSupported → const SyncResolveErrorCode

The socket type is not supported.

SyncResolveErrorCode(6)
unknown → const SyncResolveErrorCode

Unknown resolve errors

SyncResolveErrorCode(1000)

Properties

code int
final
hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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

Static Methods

fromInt(int code) SyncResolveErrorCode

Constants

values → const List<SyncResolveErrorCode>
A constant List of the values in this enum, in order of their declaration.
[hostNotFound, hostNotFoundTryAgain, noData, noRecovery, serviceNotFound, socketTypeNotSupported, unknown]