SyncConnectionErrorCode enum
Protocol connection errors discovered by the server, and reported to the client
These errors will be reported via the error handlers of the affected sessions.
- Inheritance
- Available extensions
- Annotations
-
- @Deprecated("Use SyncError or its subclasses instead of using error codes.")
Values
- connectionClosed → const SyncConnectionErrorCode
-
Connection closed (no error)
const SyncConnectionErrorCode(100)
- otherError → const SyncConnectionErrorCode
-
Other connection level error
const SyncConnectionErrorCode(101)
- unknownMessage → const SyncConnectionErrorCode
-
Unknown type of input message
const SyncConnectionErrorCode(102)
- badSyntax → const SyncConnectionErrorCode
-
Bad syntax in input message head
const SyncConnectionErrorCode(103)
- limitsExceeded → const SyncConnectionErrorCode
-
Limits exceeded in input message
const SyncConnectionErrorCode(104)
- wrongProtocolVersion → const SyncConnectionErrorCode
-
Wrong protocol version (CLIENT) (obsolete)
const SyncConnectionErrorCode(105)
- badSessionIdent → const SyncConnectionErrorCode
-
Bad session identifier in input message
const SyncConnectionErrorCode(106)
- reuseOfSessionIdent → const SyncConnectionErrorCode
-
Overlapping reuse of session identifier (BIND)
const SyncConnectionErrorCode(107)
- boundInOtherSession → const SyncConnectionErrorCode
-
Client file bound in other session (IDENT)
const SyncConnectionErrorCode(108)
- badMessageOrder → const SyncConnectionErrorCode
-
Bad input message order
const SyncConnectionErrorCode(109)
- badDecompression → const SyncConnectionErrorCode
-
Error in decompression (UPLOAD)
const SyncConnectionErrorCode(110)
- badChangesetHeaderSyntax → const SyncConnectionErrorCode
-
Bad syntax in a changeset header (UPLOAD)
const SyncConnectionErrorCode(111)
- badChangesetSize → const SyncConnectionErrorCode
-
Bad size specified in changeset header (UPLOAD)
const SyncConnectionErrorCode(112)
- switchToFlxSync → const SyncConnectionErrorCode
-
Connected with wrong wire protocol - should switch to FLX sync
const SyncConnectionErrorCode(113)
- switchToPbs → const SyncConnectionErrorCode
-
Connected with wrong wire protocol - should switch to PBS
const SyncConnectionErrorCode(114)
- unknown → const SyncConnectionErrorCode
-
Unknown Sync connection error code
const SyncConnectionErrorCode(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
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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) → SyncConnectionErrorCode
Constants
-
values
→ const List<
SyncConnectionErrorCode> - A constant List of the values in this enum, in order of their declaration.