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.
Constructors
- SyncClientErrorCode(int code)
-
const
Values
- connectionClosed → const SyncClientErrorCode
-
Connection closed (no error)
SyncClientErrorCode(100)
- unknownMessage → const SyncClientErrorCode
-
Unknown type of input message
SyncClientErrorCode(101)
- badSyntax → const SyncClientErrorCode
-
Bad syntax in input message head
SyncClientErrorCode(102)
- limitsExceeded → const SyncClientErrorCode
-
Limits exceeded in input message
SyncClientErrorCode(103)
- badSessionIdent → const SyncClientErrorCode
-
Bad session identifier in input message
SyncClientErrorCode(104)
- badMessageOrder → const SyncClientErrorCode
-
Bad input message order
SyncClientErrorCode(105)
- badClientFileIdent → const SyncClientErrorCode
-
Bad client file identifier (IDENT)
SyncClientErrorCode(106)
- badProgress → const SyncClientErrorCode
-
Bad progress information (DOWNLOAD)
SyncClientErrorCode(107)
- badChangesetHeaderSyntax → const SyncClientErrorCode
-
Bad syntax in changeset header (DOWNLOAD)
SyncClientErrorCode(108)
- badChangesetSize → const SyncClientErrorCode
-
Bad changeset size in changeset header (DOWNLOAD)
SyncClientErrorCode(109)
- badOriginFileIdent → const SyncClientErrorCode
-
Bad origin file identifier in changeset header (DOWNLOAD)
SyncClientErrorCode(110)
- badServerVersion → const SyncClientErrorCode
-
Bad server version in changeset header (DOWNLOAD)
SyncClientErrorCode(111)
- badChangeset → const SyncClientErrorCode
-
Bad changeset (DOWNLOAD)
SyncClientErrorCode(112)
- badRequestIdent → const SyncClientErrorCode
-
Bad request identifier (MARK)
SyncClientErrorCode(113)
- badErrorCode → const SyncClientErrorCode
-
Bad error code (ERROR),
SyncClientErrorCode(114)
- badCompression → const SyncClientErrorCode
-
Bad compression (DOWNLOAD)
SyncClientErrorCode(115)
- badClientVersion → const SyncClientErrorCode
-
Bad last integrated client version in changeset header (DOWNLOAD)
SyncClientErrorCode(116)
- sslServerCertRejected → const SyncClientErrorCode
-
SSL server certificate rejected
SyncClientErrorCode(117)
- pongTimeout → const SyncClientErrorCode
-
Timeout on reception of PONG respone message
SyncClientErrorCode(118)
- badClientFileIdentSalt → const SyncClientErrorCode
-
Bad client file identifier salt (IDENT)
SyncClientErrorCode(119)
- badFileIdent → const SyncClientErrorCode
-
Bad file identifier (ALLOC)
SyncClientErrorCode(120)
- connectTimeout → const SyncClientErrorCode
-
Sync connection was not fully established in time
SyncClientErrorCode(121)
- badTimestamp → const SyncClientErrorCode
-
Bad timestamp (PONG)
SyncClientErrorCode(122)
- badProtocolFromServer → const SyncClientErrorCode
-
Bad or missing protocol version information from server
SyncClientErrorCode(123)
- clientTooOldForServer → const SyncClientErrorCode
-
Protocol version negotiation failed: Client is too old for server
SyncClientErrorCode(124)
- clientTooNewForServer → const SyncClientErrorCode
-
Protocol version negotiation failed: Client is too new for server
SyncClientErrorCode(125)
- protocolMismatch → const SyncClientErrorCode
-
Protocol version negotiation failed: No version supported by both client and server
SyncClientErrorCode(126)
- badStateMessage → const SyncClientErrorCode
-
Bad values in state message (STATE)
SyncClientErrorCode(127)
- missingProtocolFeature → const SyncClientErrorCode
-
Requested feature missing in negotiated protocol version
SyncClientErrorCode(128)
- httpTunnelFailed → const SyncClientErrorCode
-
Failed to establish HTTP tunnel with configured proxy
SyncClientErrorCode(131)
- autoClientResetFailure → const SyncClientErrorCode
-
A fatal error was encountered which prevents completion of a client reset
SyncClientErrorCode(132)
- unknown → const SyncClientErrorCode
-
Unknown Sync client error code
SyncClientErrorCode(9999)
Properties
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.
[connectionClosed, unknownMessage, badSyntax, limitsExceeded, badSessionIdent, badMessageOrder, badClientFileIdent, badProgress, badChangesetHeaderSyntax, badChangesetSize, badOriginFileIdent, badServ…