event.errorCode

Type Number
Event gameNetwork
Revision Release 2022.3683
Keywords gameNetwork, Game Center, errorCode
See also event.errorMessage

Overview

If an error occurs, this will be set with an integer returning the error code of the error. If there is no error, this field is nil.

Gotchas

On iOS and Mac, this is the error code returned by Apple. See event.errorMessage for a human-readable string that describes the error.