Skip to content

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

PropertyTypeDescription
messagestringError message
stackstringError call stack