I have an error page in src/pages/500.astro
Since the app is statically generated, I don't see how a 500 could be thrown, but I guess it could if Amazon S3 or CloudFront craps its pants.
I tried simulating an error with
---
throw new Error("Simulated error");
---
But this shows me the debug page with a stack trace.
Have any ideas on how I could test the render of my 500 page?
To be clear, I am NOT using SSR. I just thought it was best practice to have a 500 page no matter what.