setOnError method
qlik.setOnError(callback)
Method used to register a callback for error handling. If you do not call this method, Qlik Sense standard error handling will be used.
- Since:
-
- 1.0
Parameters
Name | Type | Description |
---|---|---|
callback | function | Error handling function |
Example
qlik.setOnError(function(error) {
//contains code, message
alert(error.message);
});
Tip noteSee Loading external and internal modules for more example of use.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!