You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should validate and intercept certain user inputs and also prevent crashes by throwing verbose exception. Some Ideas:
Define invalid combinations of function parameters (e.g. transportationMode="plane" and fuelType="diesel"). We should write an evaluation util function for this that checks for certain, obvious/common combinations that do not make sense (see also: Method to get valid options for a combination of parameters #137).
Throw UnknownEmissionFactor exception when no EmissionFactor is found.
Throw exception on Unknown parameters (Unknown transportation mode or unknown fueling type)
Handle common routing exceptions:
- [ ] Invalid ORS key
- [ ] Invalid Latitude/Longitude input
- [ ] Adress not found
The text was updated successfully, but these errors were encountered:
Improved error handling related to parameter combinations for emission factors in #173 . Improvement of error handling related to routing is now continued in new issue #189 .
We should validate and intercept certain user inputs and also prevent crashes by throwing verbose exception. Some Ideas:
transportationMode="plane"
andfuelType="diesel"
). We should write an evaluation util function for this that checks for certain, obvious/common combinations that do not make sense (see also: Method to get valid options for a combination of parameters #137).UnknownEmissionFactor
exception when no EmissionFactor is found.- [ ] Invalid ORS key
- [ ] Invalid Latitude/Longitude input
- [ ] Adress not found
The text was updated successfully, but these errors were encountered: