chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
22 stars 13 forks source link

Add server side errors to /route API request response. #1088

Closed GabrielBruno24 closed 3 weeks ago

GabrielBruno24 commented 3 weeks ago

In case of a server error while executing a /route request, the error info will be included in the response. Updates the API doc with the new info.

Also removes a deprecated field from an error handling function.

Also fixes some incorrect function names in the pyTransition readme. Fix: #1043

Example: image

tahini commented 3 weeks ago

See #1089 for how to handle API changes

tahini commented 3 weeks ago

Je vais merger, en fait il n'y a pas d'impact sur pyTransition ou le plugin qgis, les utilisateurs pourront avoir cette nouvelle information dès la prochaine mise à jour et quand on ajoutera la gestion des versions de l'API, on pourra documenter officiellement l'apparition de ce champ.