AttributeRouting icon indicating copy to clipboard operation
AttributeRouting copied to clipboard

Unhelpful exception

Open AaronLS opened this issue 11 years ago • 0 comments

This error message provides no context of what route is causing the error: Could not find an available inline constraint for "{string}".

Would be nice if it included some information about what the full route was it was trying to parse or what method/class the route attribute was attached to that it was trying to parse.

Since it is thrown MapAttributeRoutes which process all routes in the assembly, it is difficult to determine which route is the offending one.

AaronLS avatar Jul 01 '14 18:07 AaronLS