Skip to content

Error Event

Martin Treacy-Schwartz edited this page Apr 6, 2017 · 5 revisions

Error Events

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:

<!-- Traditional way -->
gameanalytics.GameAnalytics.addErrorEvent(gameanalytics.EGAErrorSeverity.Debug, "Something went bad in some of the smelly code!");
<!-- Command queue -->
GameAnalytics("addErrorEvent", "Debug", "Something went bad in some of the smelly code!");

 

Field Type Description Example
severity enum Severity of error gameanalytics.EGAErrorSeverity.Debug
gameanalytics.EGAErrorSeverity.Info
gameanalytics.EGAErrorSeverity.Warning
gameanalytics.EGAErrorSeverity.Error
gameanalytics.EGAErrorSeverity.Critical
message string Error message (can be null) "Error when entering level12"

 

ℹ️
For more information on the error event go here.

 

NEXT  →

Clone this wiki locally