event.errorCode

Type Number
Event gameNetwork
Revision 2017.3112
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.