loadError
fires when loading of data fails
loadError: (response: string | object) => void;
Parameters:
response: string | object
- info about the error. The parameter can be either 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(response){
// your code here
});