You can use an error template, which would allow you to format the error page however you want. You'll also want to use fmbadhandler.php (advanced form handling) with it.

ginger