Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve routee-powertrain model error message #23

Closed
nreinicke opened this issue Nov 9, 2023 · 0 comments · Fixed by #27
Closed

Improve routee-powertrain model error message #23

nreinicke opened this issue Nov 9, 2023 · 0 comments · Fixed by #27

Comments

@nreinicke
Copy link
Collaborator

Right now if we pass in a model_name for computing energy routes and the SpeedGradeModel can't find a model that matches that name we just get a simple error:

No energy model found with name flying_car"

I would be helpful for the user if we could list out all the available energy models so they can pick one from the error message rather than having to dig into the config (especially if this query was executed on a opaque server).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant