convert Shop::Tax to use exceptions

This commit is contained in:
Colin Kuskie 2008-02-27 00:35:10 +00:00
parent 57cd7b6473
commit a61ab090ee
2 changed files with 17 additions and 11 deletions

View file

@ -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 }],
},
);