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."""
11 class FeatureInputInvalid(ModelError):
12 """Exception raised if a feature input is invalid."""
16 #expr -- input expression in which the error occurred
17 #msg -- explanation of the error
20 #def __init__(self, expr, msg):