:
Last modified: Oct 31, 2022

Exception-Handling

Exception handling

Exception Handling Exception handling is the act of catching an exception with the intention of handling the situation so that normal execution flow can continue. It should not be used as any part of an expected execution flow. It should also be avoided if the situation continue to be unrecoverable. .Net core provides a default middleware UseExceptionHandler that will catch exceptions and log them. You can read more about this here. »