convert Shop::Tax to use exceptions
This commit is contained in:
parent
57cd7b6473
commit
a61ab090ee
2 changed files with 17 additions and 11 deletions
|
|
@ -34,6 +34,11 @@ use Exception::Class (
|
|||
description => "The object you were try to retrieve does not exist.",
|
||||
fields => ["id"],
|
||||
},
|
||||
'WebGUI::Error::InvalidFile' => {
|
||||
isa => 'WebGUI::Error',
|
||||
description => "The file you have provided has errors.",
|
||||
fields => [qw{ brokenFile brokenLine }],
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue