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.
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
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.