fatalsToBrowser
When this routine is imported via
use
, fatal errors, such as those produced by
die
and
confess
, send error messages to the browser as well as the error log. A simple HTTP response is created with the error message, followed by a request to send mail to the web administrator.