Enum ErrorCode
Error code enumeration, indicating the type of the error.
Namespace:Realms.Sync.Exceptions
Assembly:Realm.Sync.dll
Syntax
public enum ErrorCode
Fields
Name | Description |
---|---|
AccessDenied | The path is invalid or current user has no access. |
AccessTokenExpired | Access token has already expired. |
AmbiguousPermissionOfferToken | The token used on the permission request does match more than a single permission offer. |
BadChangeset | The changeset is invalid. |
BadClientFileIdentifier | The client file identifier is invalid. |
BadClientVersion | The client version is invalid. |
BadServerFileIdentifier | The server file identifier is invalid. |
BadServerVersion | The server version is invalid. |
BadUserAuthentication | Failed to authenticate user. |
DisabledSession | The session has been disabled. |
DivergingHistories | Histories have diverged and cannot be merged. |
ExistingAccount | The account cannot be registered as it exists already. |
ExpiredPermissionOffer | The permission offer is expired. |
ExpiredRefreshToken | The refresh token is expired. |
FileMayNotBeShared | The Realm file at the specified path is not available for shared access. |
IllegalRealmPath | Path to Realm is invalid. |
InvalidCredentials | The provided credentials are invalid. |
InvalidHost | The server is not authoritative for this URL. |
InvalidParameters | Your request parameters did not validate. |
MissingParameters | Your request did not validate because of missing parameters. |
NoSuchRealm | Path points to non-existing Realm. |
OtherSessionError | Other session level error has occurred. |
PermissionDenied | Permission to Realm has been denied. |
SessionClosed | Session has been closed (no error). |
Unknown | Unrecognized error code. It usually indicates incompatibility between the authentication server and client SDK versions. |
UnknownAccount | The account does not exist. |