QA/Telemetry/State&ErrorCodes: Difference between revisions

From MozillaWiki
< QA‎ | Telemetry
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= Quick Summary =
= State and Error Codes =


The following document has a link to the code that defines the state and error codes that you might encounter in the browser console while testing a telemetry experiment.
The following document has a link to the code that defines the state and error codes that you might encounter in the browser console while testing a telemetry experiment.


Quick example of a log that has both a state and an error code that aren't defined:
A quick example of a log that has both a state and an error code that isn't defined:


   ExperimentEntry #0::_installAddon() - AddonInstall onDownloadFailed for tile-switcher@experiments.mozilla.org,
   ExperimentEntry #0::_installAddon() - AddonInstall onDownloadFailed for tile-switcher@experiments.mozilla.org,
   state=4, error=-2
   state=4, error=-2
In the above case, you would look up '''error=-2''' and '''state=4''' using the link below to see what each of the codes mean.


* [https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/AddonManager.jsm#2930 Definitions of State & Error codes]
* [https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/AddonManager.jsm#2930 Definitions of State & Error codes]

Latest revision as of 16:53, 15 January 2016

State and Error Codes

The following document has a link to the code that defines the state and error codes that you might encounter in the browser console while testing a telemetry experiment.

A quick example of a log that has both a state and an error code that isn't defined:

 ExperimentEntry #0::_installAddon() - AddonInstall onDownloadFailed for tile-switcher@experiments.mozilla.org,
 state=4, error=-2

In the above case, you would look up error=-2 and state=4 using the link below to see what each of the codes mean.