Handle error pages with HTMX

HTMX boosting is nice, but when a link 500 or a 404 is clicked, from the user perspective nothing happens, no message is displayed.