Base solution for your next web application
Open Closed

How to catch specific database exceptions during DB DML statements? #12298


User avatar
0
MainTechAS created

In the APB framework, what possibilities are there to catch specific database exceptions during DB DML statements? e.g. when using ReferentialAction.Restrict in EF Core, one might catch the foreign key constraint violation exception and display a more intuitive message than "An internal error occurred during your request!"


No answer yet!