You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default 404 message from rest.MakeRouter is not customisable.
Yes, writing a custom error handler in general is trivial, however I can't seem to find a way to override this default behaviour for requests that don't match a route.
The text was updated successfully, but these errors were encountered:
Same thing for method not allowed.
There should be a way to define a custom error response format for all internal errors and any response from rest.Error
while-loop
added a commit
to while-loop/go-json-rest
that referenced
this issue
Mar 8, 2017
The default 404 message from
rest.MakeRouter
is not customisable.Yes, writing a custom error handler in general is trivial, however I can't seem to find a way to override this default behaviour for requests that don't match a route.
The text was updated successfully, but these errors were encountered: