1 implementation of OnExceptionAsync
Microsoft.AspNetCore.Mvc.Core (1)
Filters\ExceptionFilterAttribute.cs (1)
17
public virtual Task
OnExceptionAsync
(ExceptionContext context)
17 references to OnExceptionAsync
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ResourceInvoker.cs (1)
681
var task = filter.
OnExceptionAsync
(exceptionContext);
Microsoft.AspNetCore.Mvc.Core.TestCommon (16)
CommonResourceInvokerTest.cs (16)
59
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
70
f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()),
130
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
135
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
155
f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()),
303
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
319
f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()),
337
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
358
f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()),
372
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
387
f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()),
405
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
426
f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()),
444
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))
468
filter1.Verify(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()), Times.Once());
1945
.Setup(f => f.
OnExceptionAsync
(It.IsAny<ExceptionContext>()))