Add an exception for compile errors.
This commit is contained in:
parent
be8f582ac7
commit
cce85f0972
1 changed files with 7 additions and 0 deletions
|
|
@ -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' => {
|
'WebGUI::Error::ObjectNotFound' => {
|
||||||
isa => 'WebGUI::Error',
|
isa => 'WebGUI::Error',
|
||||||
description => "The object you were trying to retrieve does not exist.",
|
description => "The object you were trying to retrieve does not exist.",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue