Hello,
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.
2 Answer(s)
-
0
Hi,
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 ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
HI @ismcagdas
Thanks for the link. Will try that approach and get back to you in case of questions.
Thanks again.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)