fromValue

Returns the PlayerErrorCode, SourceErrorCode or OfflineErrorCode error code associated with the raw code value. Throws an IllegalArgumentException if the value does not belong to any of the known error codes.