9 references to Exception
BasicWebSite (2)
Controllers\AsyncActionsController.cs (2)
18
if (context.
Exception
!= null)
20
context.Result = Content($"Action exception message: {context.
Exception
.Message}");
Microsoft.AspNetCore.Mvc.Abstractions (2)
Filters\ActionExecutedContext.cs (2)
68
/// <see cref="
Exception
"/>, if an <see cref="System.Exception"/> was caught and this information captured.
85
/// Gets or sets an indication that the <see cref="
Exception
"/> has been handled.
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ControllerActionInvoker.cs (2)
506
if (context.
Exception
!= null)
508
throw context.
Exception
;
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ControllerActionInvokerTest.cs (3)
554
Assert.Same(Exception, context.
Exception
);
597
Assert.Same(exception, context.
Exception
);
640
Assert.Same(exception, context.
Exception
);