3 class ModelError(Exception):
4 """Base class for exceptions in this package."""
7 class WrongNumberOfArguments(ModelError):
8 """Exception raised when a wrong number of arguments is given."""
12 #expr -- input expression in which the error occurred
13 #msg -- explanation of the error
16 #def __init__(self, expr, msg):