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.