how to handle all errors?

In production mode that would render your 404.rhtml page and your
500.rhtml would be rendered on server errors. They should both be
located in your public/ folder.

Fredrik