diff --git a/lib/WebGUI/Exception.pm b/lib/WebGUI/Exception.pm index 634356477..2e28b1231 100644 --- a/lib/WebGUI/Exception.pm +++ b/lib/WebGUI/Exception.pm @@ -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.",