0f5ac7761d
Some error conditions returned a non-typed error, which would be returned as a 500 status by the API. This patch; - Updates such errors to return an errdefs.InvalidParameter type - Introduces a locally defined `invalidParam{}` type for convenience. - Updates some error-strings to match Go conventions Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
backend/build | ||
httpstatus | ||
httputils | ||
middleware | ||
router | ||
errorhandler.go | ||
middleware.go | ||
server.go | ||
server_test.go |