-
Notifications
You must be signed in to change notification settings - Fork 7
Error Event
Martin Treacy-Schwartz edited this page Mar 16, 2017
·
5 revisions
Used to track custom error events in the game. You can group the events by severity level and attach a message.
To add a custom error event call the following function:
ga.GameAnalytics.addErrorEvent(ga.EGAErrorSeverity.Debug, "Something went bad in some of the smelly code!");
Field | Type | Description | Example |
---|---|---|---|
severity | enum | Severity of error | ga.EGAErrorSeverity.Debug ga.EGAErrorSeverity.Info ga.�EGAErrorSeverity.Warning ga.EGAErrorSeverity.Error ga.EGAErrorSeverity.Critical |
message | string | Error message (can be null) | "Error when entering level12" |
ℹ️
For more information on the error event go here.