public async Task OnException(HttpExceptionContext context) { foreach (var handler in GetHandlers(HandlerType.Exception)) { await handler(context); } }
protected HttpExceptionContext(HttpExceptionContext context) : base(context) { Exception = context.Exception; Response = context.Response; _exceptionHandled = context._exceptionHandled; }
public virtual Task OnException(HttpExceptionContext context) { return(Task.FromResult(true)); }