LoadError

fires when loading of data fails

void LoadError(string|object error){ ... };

Parameters

errorstring|objectinfo about the error

Example

data.events.on("LoadError", function(error){
    // your code here
});

Details

The error parameter can be either a string with the text of an error, or an object with two properties:

  • status - the code of an error
  • text - the text of an error
Back to top