IExceptionHandler Interface


Defines an unhandled exception handler.

public interface IExceptionHandler
type IExceptionHandler = interface
Public Interface IExceptionHandler


HandleAsync(ExceptionHandlerContext, CancellationToken)

Process an unhandled exception, either allowing it to propagate or handling it by providing a response message to return instead.

Extension Methods

HandleAsync(IExceptionHandler, ExceptionContext, CancellationToken)

Calls an exception handler and determines the response handling it, if any.

Applies to