Add an exception for compile errors.

This commit is contained in:
Colin Kuskie 2010-01-21 19:10:47 -08:00
parent be8f582ac7
commit cce85f0972

View file

@ -225,6 +225,13 @@ use Exception::Class (
},
'WebGUI::Error::Compile' => {
isa => 'WebGUI::Error',
description => "Unable to compile the requested class",
fields => ["class", "cause"],
},
'WebGUI::Error::ObjectNotFound' => {
isa => 'WebGUI::Error',
description => "The object you were trying to retrieve does not exist.",