Shop exception classes were not subclasses of WebGUI::Error.

This commit is contained in:
Colin Kuskie 2009-07-08 21:33:34 +00:00
parent d4b275ef97
commit 93ea117555
2 changed files with 5 additions and 2 deletions

View file

@ -19,11 +19,13 @@ use WebGUI::Exception;
use Exception::Class (
'WebGUI::Error::Shop::MaxOfItemInCartReached' => {
description => "Some items restrict how many you can put into your cart.",
description => "Some items restrict how many you can put into your cart.",
isa => 'WebGUI::Error',
},
'WebGUI::Error::Shop::RemoteShippingRate' => {
description => "Errors during the remote rate lookups.",
description => "Errors during the remote rate lookups.",
isa => 'WebGUI::Error',
},
);