mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 16:05:29 +00:00
Added a few exceptions that will be thrown at the time of errors. Makes for easier debugging. Also updated README accordingly
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<?php namespace Gloudemans\Shoppingcart\Exceptions;
|
||||
|
||||
class ShoppingcartInstanceException extends \Exception {}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php namespace Gloudemans\Shoppingcart\Exceptions;
|
||||
|
||||
class ShoppingcartInvalidItemException extends \Exception {}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php namespace Gloudemans\Shoppingcart\Exceptions;
|
||||
|
||||
class ShoppingcartInvalidPriceException extends \Exception {}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php namespace Gloudemans\Shoppingcart\Exceptions;
|
||||
|
||||
class ShoppingcartInvalidQtyException extends \Exception {}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php namespace Gloudemans\Shoppingcart\Exceptions;
|
||||
|
||||
class ShoppingcartInvalidRowIDException extends \Exception {}
|
||||
Reference in New Issue
Block a user