When you're using HTMX and making HTTP requests to the app server, It can throw errors and exceptions and you will be only able to see these errors on

Laravel and HTMX Error Handling

submited by
Style Pass
2024-04-24 15:00:14

When you're using HTMX and making HTTP requests to the app server, It can throw errors and exceptions and you will be only able to see these errors on the Network tab of your browser. But we need something to pop up immediately on the browser.

Well, like other Javascript HTTP clients, it sends HTTP requests to the server but it has the capability that you can listen for events after each request and see if a response was successful or it failed with some HTTP responses.

Leave a Comment