Class DefaultExceptionHandler
- Namespace
- MADE.Web.Exceptions
- Assembly
- MADE.Web.dll
Defines a default exception handler for exceptions thrown which are not explicitly handled.
public class DefaultExceptionHandler : IHttpContextExceptionHandler<Exception>
- Inheritance
-
DefaultExceptionHandler
- Implements
- Inherited Members
- Extension Methods
Methods
HandleAsync(HttpContext, Exception)
Handles the specified exception for the given context.
public Task HandleAsync(HttpContext context, Exception exception)
Parameters
contextHttpContextThe request context.
exceptionExceptionThe exception thrown.
Returns
- Task
An asynchronous operation.