1 """ photoprint exceptions
6 from AccessControl
import ModuleSecurityInfo
8 security
= ModuleSecurityInfo('Products.photoprint.exceptions')
10 security
.declarePublic('SoldOutError')
11 class SoldOutError(Exception):
14 __allow_access_to_unprotected_subobjects__
= 1
16 def __init__(self
, n
=0):
19 security
.declarePublic('CartLockedError')
20 class CartLockedError(Exception) :
21 "Operation is not permitted due to cart lock"