1 implementation of Error
Microsoft.AspNetCore.Diagnostics (1)
ExceptionHandler\ExceptionHandlerFeature.cs (1)
15
public Exception
Error
{ get; set; } = default!;
3 references to Error
ExceptionHandlerSample (1)
Startup.cs (1)
28
await context.Response.WriteAsync("<br>Error: " + HtmlEncoder.Default.Encode(error.
Error
.Message) + "<br>\r\n");
Microsoft.AspNetCore.Diagnostics.Tests (2)
DeveloperExceptionPageMiddlewareTest.cs (2)
87
context.ProblemDetails.Extensions.Add("OriginalExceptionMessage", feature?.
Error
.Message);
146
context.ProblemDetails.Extensions.Add("OriginalExceptionMessage", feature?.
Error
.Message);