This is an example that shows that throwing a notFound error from a parameter validator causes a 500 error, not the expected 404.
To see this:
- http://localhost:3000/123 correctly shows the page
- http://localhost:3000/abc returns a 500 error, when it should be a 404