Error code enumeration, indicating the type of the session error.
public enum ErrorCode
The path is invalid or current user has no access.
Access token has already expired.
The token used on the permission request does match more than a single permission offer.
The changeset is invalid.
The client file is invalid.
The client file identifier is invalid.
The client version is invalid.
The server file identifier is invalid.
The server version is invalid.
Failed to authenticate user.
The session has been disabled.
Histories have diverged and cannot be merged.
The account cannot be registered as it exists already.
The permission offer is expired.
The refresh token is expired.
The Realm file at the specified path is not available for shared access.
Path to Realm is invalid.
The provided credentials are invalid.
The server is not authoritative for this URL.
Your request parameters did not validate.
The client attempted to upload an invalid schema change - either an additive schema change
when developer mode is
Your request did not validate because of missing parameters.
Path points to non-existing Realm.
Other session level error has occurred.
Permission to Realm has been denied.
Session has been closed (no error).
The server has received too many sessions from this client. This is typically a transient error but can also indicate that the client has too many Realms open at the same time.
Unrecognized error code. It usually indicates incompatibility between the authentication server and client SDK versions.
The account does not exist.
The user for this session doesn't match the user who originally created the file. This can happen if you explicitly specify the Realm file path in the configuration and you open the Realm first with user A, then with user B without changing the on-disk path.