assert_error

webix.assert_error(message)

webix.assert_error helper.

Please look into the linked official documentation.

References

helpers
log().

External references

Official documentation page.

Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
webix.assert_error = function(message){
    //jshint debug:true
    webix.log("error",message);
    if (webix.message && typeof message == "string")
        webix.message({ type:"debug", text:message, expire:-1 });
    if (webix.debug !== false)
        debugger;
};

//entry point for analitic scripts