roaster icon indicating copy to clipboard operation
roaster copied to clipboard

allow global custom error handlers

Open line-o opened this issue 5 years ago • 1 comments

Like other properties (e.g. security), x-error-handler should also be possible to be set globally.

{
  "x-error-handler": "my-app:handle-errors",
  ...
}

line-o avatar Jan 15 '21 09:01 line-o

As @nverwer pointed out this would allow to have custom not-found pages.

line-o avatar Jun 22 '22 12:06 line-o