An enumeration whose values specify Game Kit errors.
public enum GKError
type GKError =
The player is authenticating.
The user cancelled the operation.
The challenge was invalid.
There was an error in communicating with the game server.
The session request was not valid.
The game center did not recognize the app or game. This can be caused by an invalid bundle identifier.
The user name or password was invalid.
A parameter was incorrect or miscategorized.
The in-game representation of a player was invalid.
The receiver is not currently receiving invitations.
The match is not connected.
The match request is logically impossible.
No error occurred.
The player is not authenticated.
The Game Center is not supported by the device.
The requested item or service is blocked.
The player's photo could not be retrieved.
The player's status message is longer than allowed.
The player's status message is not valid.
The score is not set.
The in-game representation of a player in a turn-based game was invalid.
The session for a turn-based game was in an invalid state.
An attempt was made to play out of turn.
The match data was too large.
The maximum number of sessions was reached before the operation was requested.
The iCloud container was unavailable.
The player is not old enough to access the item or service.
There was a connection from an unexpected player.
An unknown error occurred.
The user denied an operation.