app/soc/logic/models/base.py
changeset 441 8a7110ad3d82
parent 436 f3c313d54aa4
child 442 92c17629af0e
equal deleted inserted replaced
440:3a60d5e5c14e 441:8a7110ad3d82
    31 
    31 
    32 from soc.logic import dicts
    32 from soc.logic import dicts
    33 from soc.logic import out_of_band
    33 from soc.logic import out_of_band
    34 
    34 
    35 
    35 
       
    36 class Error(Exception):
       
    37   """Base class for all exceptions raised by this module."""
       
    38   pass
       
    39 
       
    40 
    36 class Logic:
    41 class Logic:
    37   """Base logic for entity classes.
    42   """Base logic for entity classes.
    38 
    43 
    39   The BaseLogic class functions specific to Entity classes by relying
    44   The BaseLogic class functions specific to Entity classes by relying
    40   on the the child-classes to implement _model, _name and _key_name
    45   on the the child-classes to implement _model, _name and _key_name