Made $session->log->fatal() message pass through

This commit is contained in:
Patrick Donelan 2010-04-10 23:40:14 -04:00
parent 716bdaeb86
commit 42c1a8e149
6 changed files with 55 additions and 51 deletions

View file

@ -264,6 +264,12 @@ use Exception::Class (
description => "Couldn't establish a connection.",
fields => [qw{ resource }],
},
'WebGUI::Error::Fatal' => {
isa => 'WebGUI::Error',
description => "Fatal error that should be shown to all site visitors.",
},
);