IGNF / road2

NodeJS routing server aggregating several popular routing engines (video presentation (french) : https://peertube.fr/w/75fwFoW2GP8tQSGLUXUpPP)

Home Page:https://ignf.github.io/road2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[fix] Add the error code in the responses of the APIs

lgrd opened this issue · comments

commented

Now, we use the Error nodeJS class inside the errorManager. But it seems to be a misuse. For instance, error.code is always undefined when the error is created. So, when we want to send an error code inside the API response, there is none.