webix error page

Hi,
I am using webix in my jsp page and fetching json data from an action class.If the fetched value (json) is not having any values for the keys i want to redirect to an error page rather than to the existing page.How can i achieve this using webix?
Please suggest solution for displaying error page in webix as per this scenario.

Check
http://docs.webix.com/desktop__loadingerror.html

You can use global error handler or per-data-loading one. Error will be triggered when server side response contains error status code ( 500 ) or has an empty response text.