SyncClientErrorCode enum

Protocol errors discovered by the client.

These errors will terminate the network connection (disconnect all sessions associated with the affected connection), and the error will be reported via the connection state change listeners of the affected sessions.

Inheritance

Constructors

SyncClientErrorCode(int code)
const

Values

connectionClosed → const SyncClientErrorCode

Connection closed (no error)

const SyncClientErrorCode(100)
unknownMessage → const SyncClientErrorCode

Unknown type of input message

const SyncClientErrorCode(101)
badSyntax → const SyncClientErrorCode

Bad syntax in input message head

const SyncClientErrorCode(102)
limitsExceeded → const SyncClientErrorCode

Limits exceeded in input message

const SyncClientErrorCode(103)
badSessionIdent → const SyncClientErrorCode

Bad session identifier in input message

const SyncClientErrorCode(104)
badMessageOrder → const SyncClientErrorCode

Bad input message order

const SyncClientErrorCode(105)
badClientFileIdent → const SyncClientErrorCode

Bad client file identifier (IDENT)

const SyncClientErrorCode(106)
badProgress → const SyncClientErrorCode

Bad progress information (DOWNLOAD)

const SyncClientErrorCode(107)
badChangesetHeaderSyntax → const SyncClientErrorCode

Bad syntax in changeset header (DOWNLOAD)

const SyncClientErrorCode(108)
badChangesetSize → const SyncClientErrorCode

Bad changeset size in changeset header (DOWNLOAD)

const SyncClientErrorCode(109)
badOriginFileIdent → const SyncClientErrorCode

Bad origin file identifier in changeset header (DOWNLOAD)

const SyncClientErrorCode(110)
badServerVersion → const SyncClientErrorCode

Bad server version in changeset header (DOWNLOAD)

const SyncClientErrorCode(111)
badChangeset → const SyncClientErrorCode

Bad changeset (DOWNLOAD)

const SyncClientErrorCode(112)
badRequestIdent → const SyncClientErrorCode

Bad request identifier (MARK)

const SyncClientErrorCode(113)
badErrorCode → const SyncClientErrorCode

Bad error code (ERROR),

const SyncClientErrorCode(114)
badCompression → const SyncClientErrorCode

Bad compression (DOWNLOAD)

const SyncClientErrorCode(115)
badClientVersion → const SyncClientErrorCode

Bad last integrated client version in changeset header (DOWNLOAD)

const SyncClientErrorCode(116)
sslServerCertRejected → const SyncClientErrorCode

SSL server certificate rejected

const SyncClientErrorCode(117)
pongTimeout → const SyncClientErrorCode

Timeout on reception of PONG respone message

const SyncClientErrorCode(118)
badClientFileIdentSalt → const SyncClientErrorCode

Bad client file identifier salt (IDENT)

const SyncClientErrorCode(119)
badFileIdent → const SyncClientErrorCode

Bad file identifier (ALLOC)

const SyncClientErrorCode(120)
connectTimeout → const SyncClientErrorCode

Sync connection was not fully established in time

const SyncClientErrorCode(121)
badTimestamp → const SyncClientErrorCode

Bad timestamp (PONG)

const SyncClientErrorCode(122)
badProtocolFromServer → const SyncClientErrorCode

Bad or missing protocol version information from server

const SyncClientErrorCode(123)
clientTooOldForServer → const SyncClientErrorCode

Protocol version negotiation failed: Client is too old for server

const SyncClientErrorCode(124)
clientTooNewForServer → const SyncClientErrorCode

Protocol version negotiation failed: Client is too new for server

const SyncClientErrorCode(125)
protocolMismatch → const SyncClientErrorCode

Protocol version negotiation failed: No version supported by both client and server

const SyncClientErrorCode(126)
badStateMessage → const SyncClientErrorCode

Bad values in state message (STATE)

const SyncClientErrorCode(127)
missingProtocolFeature → const SyncClientErrorCode

Requested feature missing in negotiated protocol version

const SyncClientErrorCode(128)
httpTunnelFailed → const SyncClientErrorCode

Failed to establish HTTP tunnel with configured proxy

const SyncClientErrorCode(131)
autoClientResetFailure → const SyncClientErrorCode

A fatal error was encountered which prevents completion of a client reset

const SyncClientErrorCode(132)
unknown → const SyncClientErrorCode

Unknown Sync client error code

const SyncClientErrorCode(9999)

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) SyncClientErrorCode

Constants

values → const List<SyncClientErrorCode>
A constant List of the values in this enum, in order of their declaration.