Even though it is at overengineering.dev, loved this pragmatic and simple approach:
I have implemented the most advanced client-side error-handling technique ever: window.location.reload().