Can I hide the error page in the panel?

I’m fairly sure I’ve shared the code to do just that on these forums already, but it involves modifying the core. I’ll see if I can track down the link.

Link found.