Webix User Manager 8.1.5 Error Handling Sample Code

Does anyone have a sample code on how to handle Ajax server response error. I would like to intercept server side response and display an error message to the user.

Comments

  • Hi @joobele

    All data requests are implemented in one module (Backend service), where you can access any method and customize its code.
    Please note that most of these methods should return a promise resolved with data (the description of methods includes the expected response and returned value).

    Here's an example of accessing some of the Backend methods and handling errors in a common method for requesting data (get): https://snippet.webix.com/ow62zop0

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion