19 writes to Error
Microsoft.AspNetCore.Routing (19)
Patterns\RoutePatternParser.cs (19)
87
context.
Error
= Resources.TemplateRoute_MismatchedParameter;
160
context.
Error
= Resources.TemplateRoute_UnescapedBrace;
168
context.
Error
= Resources.TemplateRoute_MismatchedParameter;
197
context.
Error
= Resources.TemplateRoute_MismatchedParameter;
205
context.
Error
= Resources.FormatTemplateRoute_InvalidParameterName(string.Empty);
219
context.
Error
= Resources.TemplateRoute_CatchAllCannotBeOptional;
229
context.
Error
= Resources.TemplateRoute_OptionalCannotHaveDefaultValue;
261
context.
Error
= Resources.TemplateRoute_MismatchedParameter;
281
context.
Error
= Resources.TemplateRoute_MismatchedParameter;
292
context.
Error
= Resources.TemplateRoute_MismatchedParameter;
329
context.
Error
= Resources.TemplateRoute_CatchAllMustBeLast;
346
context.
Error
= Resources.TemplateRoute_CannotHaveCatchAllInMultiSegment;
370
context.
Error
= Resources.FormatTemplateRoute_OptionalParameterCanbBePrecededByPeriod(
383
context.
Error
= Resources.FormatTemplateRoute_OptionalParameterCanbBePrecededByPeriod(
399
context.
Error
= Resources.FormatTemplateRoute_OptionalParameterHasTobeTheLast(
416
context.
Error
= Resources.TemplateRoute_CannotHaveConsecutiveParameters;
430
context.
Error
= Resources.FormatTemplateRoute_InvalidParameterName(parameterName);
436
context.
Error
= Resources.FormatTemplateRoute_RepeatedParameter(parameterName);
450
context.
Error
= Resources.FormatTemplateRoute_InvalidLiteral(literal);
2 references to Error
Microsoft.AspNetCore.Routing (2)
Patterns\RoutePatternParser.cs (2)
47
throw new RoutePatternException(pattern, context.
Error
);
67
throw new RoutePatternException(pattern, context.
Error
);