Base solution for your next web application
Open Closed

Handling User Friendly Exception in UI #11712

User avatar
maharatha created

We are using latest version of Angular and .NET Core. I have a question on how to handle the user friendly exception.

In the API when we throw user friendly exception the message is being displayed using Sweet Alert. However we want to change that behavior and handle displaying the error message on our own.

We still want to wrap the rsult but handle the error on our side.

I read the article where it says "You may want to disable displaying the message for a particular AJAX call. If so, add abpHandleError: false into the abp.ajax options.". I am not sure how to send this option as all requests are being handled by the service proxies

1 Answer(s)