Gotta Catch 'Em All! - Global Exception Handling in C#
June 8, 2024
• 1,154 views
try catch finally blockexception handlingtry catch c#c sharp try catchc# try catchexception c#c# exception handlingc# try catch finallyc# exceptiondotnetc# exceptionstry catch in c#C#try catchglobal exception handling in c#global exception handler uipathglobal exception handling in asp.net coreglobal exception handling in asp.net core web apiglobal error handling in asp.net core web apiglobal exception handling in microservices.netcsharp
We've seen how try/catch/finally works in C#... but what about those exceptions that are still sneaking through and crashing your program? Isn't there a way that we can know when ANY exception is thrown in our C# applications?
Well this isn't a solution for recovering your program from any problem, but it might help you diagnose it more easily! In this video, I'll walk you through global exception handling in C# and a second tip for how to do this with pesky runaway tasks!
