Salome HOME
[PythonAPI] added a pylintrc file for style checking allowing lower camel case.
[modules/shaper.git] / src / PythonAPI / modeler / errors.py
1 # Package exceptions
2
3 class ModelerError(Exception):
4     """Base class for exceptions in this package."""
5     pass
6
7 class WrongNumberOfArguments(ModelerError):
8     """Exception raised when a wrong number of arguments is given."""
9     pass
10
11     #Attributes:
12         #expr -- input expression in which the error occurred
13         #msg  -- explanation of the error
14     #"""
15
16     #def __init__(self, expr, msg):
17         #self.expr = expr
18         #self.msg = msg