RouterBase#generate should throw an Error if route is not found