sud.onError
JS
sud.onError(function callback)Listens for the global error event.
Parameters
- function callback: Callback function for the global error event
Parameters of the callback function
- Object res: Returns the global error information
Global error information properties
| Property | Type | Description |
|---|---|---|
| message | string | Error message |
| stack | string | Error call stack |
