OpenTreeOfLife / taxomachine

taxonomy graphdb
Other
7 stars 4 forks source link

API methods should respond with 4xx or 5xx instead of "error": "..." #128

Closed jar398 closed 8 years ago

jar398 commented 8 years ago

4xx for problems with request, 5xx for bugs in the server or server configuration

jar398 commented 8 years ago

See comments here https://github.com/OpenTreeOfLife/treemachine/issues/204 for information on how to implement this.

jar398 commented 8 years ago

Implemented by https://github.com/OpenTreeOfLife/taxomachine/commit/fd0145ba97fdf22d3300369ebfafb378a0b3c2a8 (on the v3 branch), I believe. Tested but not thoroughly.