MediaComem / smapshot-api

API behind the crowdsourcing platform smapshot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean API errors - use only instance of HttpProblemDetailsError

slecorne opened this issue · comments

There are still part of the code that use createAPIError and handlePromise. We should switch them to using the route()middleware and throw HttpProblemDetailsError instance.