We are using Angular + .net core template v11.2.1.
We want to hide the error message window shown on UserFriendlyException for a specific error returned from the backend. Please note that we still want to process the error in some other way but not showing the error message to the user.
Is there any way to achieve this functionality?
Thanks in advance.
The HTTP requests are intercepted by AbpHttpInterceptor, see https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/shared/service-proxies/service-proxy.module.ts#L58. So, if you want to do this, you can create a similar interceptor to https://github.com/aspnetboilerplate/abp-ng2-module/blob/master/projects/abp-ng2-module/src/lib/interceptors/abpHttpInterceptor.ts and use it in your project ?