8 instantiations of ClientErrorData
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\ApiBehaviorOptionsSetup.cs (1)
57
options.ClientErrorMapping[statusCode] =
new
()
Microsoft.AspNetCore.Mvc.Core.Test (7)
ControllerBaseTest.cs (3)
2559
[400] = new
ClientErrorData
2564
[422] = new
ClientErrorData
2569
[500] = new
ClientErrorData
Infrastructure\ProblemDetalsClientErrorFactoryTest.cs (4)
21
[405] = new
ClientErrorData
{ Link = "Some link", Title = "Summary" },
48
[415] = new
ClientErrorData
{ Link = "Some link", Title = "Summary" },
78
[405] = new
ClientErrorData
{ Link = "Some link", Title = "Summary" },
104
[405] = new
ClientErrorData
{ Link = "Some link", Title = "Summary" },
4 references to ClientErrorData
Microsoft.AspNetCore.Mvc.Core (4)
ApiBehaviorOptions.cs (3)
85
/// Gets a map of HTTP status codes to <see cref="
ClientErrorData
"/>. Configured values
92
public IDictionary<int,
ClientErrorData
> ClientErrorMapping { get; } = new Dictionary<int,
ClientErrorData
>();
Infrastructure\DefaultProblemDetailsFactory.cs (1)
99
if (_options.ClientErrorMapping.TryGetValue(statusCode, out
var
clientErrorData))