.captureBrowserExceptions() Suggest edits
Since: 2.2.0Catch the JavaScript exceptions thrown in the browser.
Usage
.captureBrowserExceptions(onExceptionCallback)
Example
Or run locally with:
Parameters
Name | Type | description |
---|---|---|
onExceptionCallback |
function | Callback function called whenever a new exception is thrown in the browser. |