SyncSessionErrorCode enum

Protocol session errors discovered by the server, and reported to the client

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

Inheritance

Constructors

SyncSessionErrorCode(int code)
const

Values

sessionClosed → const SyncSessionErrorCode

Session closed (no error)

const SyncSessionErrorCode(200)
otherSessionError → const SyncSessionErrorCode

Other session level error

const SyncSessionErrorCode(201)
tokenExpired → const SyncSessionErrorCode

Access token expired

const SyncSessionErrorCode(202)
badAuthentication → const SyncSessionErrorCode

Bad user authentication (BIND)

const SyncSessionErrorCode(203)
illegalRealmPath → const SyncSessionErrorCode

Illegal Realm path (BIND)

const SyncSessionErrorCode(204)
noSuchRealm → const SyncSessionErrorCode

No such Realm (BIND)

const SyncSessionErrorCode(205)
permissionDenied → const SyncSessionErrorCode

Permission denied (BIND)

const SyncSessionErrorCode(206)
badServerFileIdent → const SyncSessionErrorCode

Bad server file identifier (IDENT) (obsolete!)

const SyncSessionErrorCode(207)
badClientFileIdent → const SyncSessionErrorCode

Bad client file identifier (IDENT)

const SyncSessionErrorCode(208)
badServerVersion → const SyncSessionErrorCode

Bad server version (IDENT, UPLOAD, TRANSACT)

const SyncSessionErrorCode(209)
badClientVersion → const SyncSessionErrorCode

Bad client version (IDENT, UPLOAD)

const SyncSessionErrorCode(210)
divergingHistories → const SyncSessionErrorCode

Diverging histories (IDENT)

const SyncSessionErrorCode(211)
badChangeset → const SyncSessionErrorCode

Bad changeset (UPLOAD)

const SyncSessionErrorCode(212)
partialSyncDisabled → const SyncSessionErrorCode

Partial sync disabled (BIND)

const SyncSessionErrorCode(214)
unsupportedSessionFeature → const SyncSessionErrorCode

Unsupported session-level feature

const SyncSessionErrorCode(215)
badOriginFileIdent → const SyncSessionErrorCode

Bad origin file identifier (UPLOAD)

const SyncSessionErrorCode(216)
badClientFile → const SyncSessionErrorCode

Synchronization no longer possible for client-side file

const SyncSessionErrorCode(217)
serverFileDeleted → const SyncSessionErrorCode

Server file was deleted while session was bound to it

const SyncSessionErrorCode(218)
clientFileBlacklisted → const SyncSessionErrorCode

Client file has been blacklisted (IDENT)

const SyncSessionErrorCode(219)
userBlacklisted → const SyncSessionErrorCode

User has been blacklisted (BIND)

const SyncSessionErrorCode(220)
transactBeforeUpload → const SyncSessionErrorCode

Serialized transaction before upload completion

const SyncSessionErrorCode(221)
clientFileExpired → const SyncSessionErrorCode

Client file has expired

const SyncSessionErrorCode(222)
userMismatch → const SyncSessionErrorCode

User mismatch for client file identifier (IDENT)

const SyncSessionErrorCode(223)
tooManySessions → const SyncSessionErrorCode

Too many sessions in connection (BIND)

const SyncSessionErrorCode(224)
invalidSchemaChange → const SyncSessionErrorCode

Invalid schema change (UPLOAD)

const SyncSessionErrorCode(225)
badQuery → const SyncSessionErrorCode

Client query is invalid/malformed (IDENT, QUERY)

const SyncSessionErrorCode(226)
objectAlreadyExists → const SyncSessionErrorCode

Client tried to create an object that already exists outside their (()UPLOAD)

const SyncSessionErrorCode(227)
serverPermissionsChanged → const SyncSessionErrorCode

Server permissions for this file ident have changed since the last time it (used) (IDENT)

const SyncSessionErrorCode(228)
initialSyncNotCompleted → const SyncSessionErrorCode

Client tried to open a session before initial sync is complete (BIND)

const SyncSessionErrorCode(229)
writeNotAllowed → const SyncSessionErrorCode

Client attempted a write that is disallowed by permissions, or modifies an object outside the current query - requires client reset (UPLOAD)

const SyncSessionErrorCode(230)
compensatingWrite → const SyncSessionErrorCode

Client attempted a write that is disallowed by permissions, or modifies an object outside the current query, and the server undid the modification (UPLOAD)

const SyncSessionErrorCode(231)
unknown → const SyncSessionErrorCode

Unknown Sync session error code

const SyncSessionErrorCode(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) SyncSessionErrorCode

Constants

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