Tracks which types of errors can be caught by Sentry.
----
| | | | | Normal | mode | | | | | | |**Debug**|**mode**| | | |
| |-------------|------------|---------|---------|--------|---------|-----------|-----| | | | | | | | |
| | module init | setTimeout | $.ready | $.event | $.ajax | misc cb | mw.loader | CSS | module init | setTimeout | $.ready | $.event | $.ajax | misc cb | mw.loader | CSS |
| |-------------|------------|---------|---------|--------|---------|-----------|-----|-------------|------------|---------|---------|--------|---------|-----------|-----|
|Chrome | {icon check color=green} | {icon check color=green} | {icon times color=red} | {icon check color=green} | {icon check color=green} | {icon question color=blue} | {icon question color=blue} | {icon minus} | {icon times color=red} | {icon check color=green} | {icon times color=red} | {icon check color=green} | {icon times color=red} | {icon question color=blue} | {icon question color=blue} | {icon minus} |
|----------|
----
**Error types**:
* **module init**: errors occuring when the JS code of the module is executed
* **setTimeout**: error in a setTimeout/setInterval callback
* **$.ready**: error in a jQuery onready handler (`$(handler)`)
* **$.event**: error in a jQuery event handler (`$elem.click(handler)` etc)
* **$.ajax**: error in a jQuery AJAX callback
* **misc cb**: error in an event handler / callback which is none of the above (e.g. native handler via `addEventListener`, native AJAX callback)
* **mw.loader**: error in an mw.loader callback which is swallowed by ResourceLoader
* **CSS**: error when styles are added by ResourceLoader via the IE compatibility hack (T33676)