Throws an exception if no named route found in redirectToRoute