IExceptionHandler Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an interface for handling exceptions in ASP.NET Core applications.
IExceptionHandler
implementations are used by the exception handler middleware.
public interface IExceptionHandler
type IExceptionHandler = interface
Public Interface IExceptionHandler
Try |
Tries to handle the specified exception asynchronously within the ASP.NET Core pipeline. Implementations of this method can provide custom exception-handling logic for different scenarios. |