Enum LeaderboardsExceptionReason
An enum of possible reasons that Leaderboards would throw an exception.
Namespace: Unity.Services.Leaderboards.Exceptions
Assembly: Unity.Services.Leaderboards.dll
Syntax
[Preserve]
public enum LeaderboardsExceptionReason
Fields
| Name | Description |
|---|---|
| AccessTokenMissing | Access token is missing from the request. |
| BucketNotFound | The leaderboard bucket requested was not found |
| EntryNotFound | The leaderboard entry requested was not found |
| InvalidArgument | Generic reason indicating an argument in the request was invalid, commonly used in LeaderboardValidationException |
| LeaderboardBucketed | A request that can only be made on a non-bucketed leaderboard was made on a bucketed leaderboard |
| LeaderboardNotBucketed | A request that can only be made on a bucketed leaderboard was made on a non-bucketed leaderboard |
| LeaderboardNotFound | The leaderboard requested was not found |
| LeaderboardNotTiered | A request that can only be made on a tiered leaderboard was made on a non-tiered leaderboard. |
| NoInternetConnection | No internet connection. |
| NotFound | Generic reason indicating that one of the entities specified in the request was not found |
| PlayerIdMissing | Request did not include a Player Id |
| ProjectIdMissing | Request did not include a Project Id. |
| ScoreSubmissionRequired | Request attempted to read from a bucketed leaderboard before the player submitted a score and was assigned a bucket. |
| ServiceUnavailable | Generic reason indicating there was an error communicating with the service |
| TierNotFound | The leaderboard tier requested was not found |
| TooManyRequests | Rate limit has been exceeded, please wait and try again |
| Unauthorized | Player is not authorized to access this resource |
| Unknown | An unknown error occurred. |
| VersionNotFound | The leaderboard version requested was not found |