Hacker News new | ask | show | jobs
by basique 1032 days ago
You just return an HTML fragment that describes the error with a header that says where to put it. The htmx JS API has events for errors too, if you want to do client-side handling.