loadError
fires when loading of data fails
loadError: (response: string | object) => void;
Parameters:
response: string | object- info about the error. It can be:- a string with the text of an error
- or an object with two properties:
status- the code of an errortext- the text of an error
Example
component.data.events.on("loadError", function(error){
// your code here
});