Class ServerAuthenticationErrorCodes
ServerAuthenticationErrorCodes lists the error codes to expect from ServerAuthenticationException and failed events.
The error code range is the same as AuthenticationException: 10000 to 10999.
Inherited Members
Namespace: Unity.Services.Authentication.Server
Syntax
public static class ServerAuthenticationErrorCodes
Fields
ClientInvalidUserState
A client error that is returned when the user is not in the right state. For example, calling SignOut when the user is already signed out will result in this error.
Declaration
public static readonly int ClientInvalidUserState
Field Value
| Type | Description |
|---|---|
| Int32 |
InvalidParameters
The error returned when the parameter is missing or not in the right format.
Declaration
public static readonly int InvalidParameters
Field Value
| Type | Description |
|---|---|
| Int32 |
MinValue
The minimal value of an Authentication error code. Any error code thrown from Authentication SDK less than it is from CommonErrorCodes.
Declaration
public static readonly int MinValue
Field Value
| Type | Description |
|---|---|
| Int32 |