SyncResolveErrorCode enum

Protocol network resolution errors.

These errors will be reported via the error handlers of the affected sessions.

Inheritance

Constructors

SyncResolveErrorCode(int code)
const

Values

hostNotFound → const SyncResolveErrorCode

Host not found (authoritative).

const SyncResolveErrorCode(1)
hostNotFoundTryAgain → const SyncResolveErrorCode

Host not found (non-authoritative).

const SyncResolveErrorCode(2)
noData → const SyncResolveErrorCode

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

const SyncResolveErrorCode(3)
noRecovery → const SyncResolveErrorCode

A non-recoverable error occurred.

const SyncResolveErrorCode(4)
serviceNotFound → const SyncResolveErrorCode

The service is not supported for the given socket type.

const SyncResolveErrorCode(5)
socketTypeNotSupported → const SyncResolveErrorCode

The socket type is not supported.

const SyncResolveErrorCode(6)
unknown → const SyncResolveErrorCode

Unknown resolve errors

const SyncResolveErrorCode(1000)

Properties

code int
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

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.