This seems a little inconsistent and actually caused a bit of a bother because it took so long to work out there was a spelling mistake in the directory structure.
When creating a Route Prefix, the class isn't validated so it can be prone to mistakes that could be easily caught.
Failing that, it might also be a good idea or an alternative to say why a certain route cannot be found e.g. instead of:
Route {route} could not be found.
Maybe:
Route {route} could not be found. Invalid class.
When creating a Route Prefix, the class isn't validated so it can be prone to mistakes that could be easily caught.
Failing that, it might also be a good idea or an alternative to say why a certain route cannot be found e.g. instead of:
Route {route} could not be found.
Maybe:
Route {route} could not be found. Invalid class.