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;
 }
Ejemplo n.º 3
0
 public virtual Task OnException(HttpExceptionContext context)
 {
     return(Task.FromResult(true));
 }