- ABP Framework version: v8.0.1
- UI Type: Angular
- Database System: EF Core (SQL Server,)
- Tiered (for MVC) or Auth Server Separated (for Angular): /no
- Exception message and full stack trace:
- Steps to reproduce the issue:
Hello, This solution didn't work for me, regarding { provide: AbpFormatErrorHandlerService, useValue: AbpFormatErrorHandlerCustomService }, https://support.abp.io/QA/Questions/6220/Customize-HTTP-Error-Handler#answer-3a0f13f5-8e56-d080-f923-63fcb15c77d9
Would you help me?
4 Answer(s)
-
0
Hi can you please share your code ?
-
0
Hi, can you use
useClass
instead ofuseValue
, while providing your customService.For more information and examples, you can check our updated latest documentation about error handling. *> https://github.com/abpframework/abp/blob/20b7151d447e69aaa5944bddbc0842c5207fbd52/docs/en/UI/Angular/HTTP-Error-Handling.md
it will be reflected to https://docs.abp.io/en/abp/latest soon.
-
0
Oi você pode por favor compartilhar seu código?
Hi,
I already tried this solution above but it didn't work.
Yes, I can... do you prefer it in print or the code itself?
-
0
have you tried this section? if you did please share the related codes with us.