diff options
author | David Douard <david.douard@logilab.fr> | 2013-06-17 18:09:03 +0200 |
---|---|---|
committer | David Douard <david.douard@logilab.fr> | 2013-06-17 18:09:03 +0200 |
commit | 5b40f8a5d5e6a36fd966eb473d0897f3e2f8c547 (patch) | |
tree | 1597a5d9029ffa1d6ebe328e842f1dd9778290a0 /exceptions.py | |
parent | 712b9ea501fcea3dce78de05e83083bfa31a7510 (diff) | |
download | astroid-git-5b40f8a5d5e6a36fd966eb473d0897f3e2f8c547.tar.gz |
rename the project astroid
Diffstat (limited to 'exceptions.py')
-rw-r--r-- | exceptions.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/exceptions.py b/exceptions.py index db33f8b9..07fb945e 100644 --- a/exceptions.py +++ b/exceptions.py @@ -1,34 +1,34 @@ # copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # -# This file is part of logilab-astng. +# This file is part of astroid. # -# logilab-astng is free software: you can redistribute it and/or modify it +# astroid is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by the # Free Software Foundation, either version 2.1 of the License, or (at your # option) any later version. # -# logilab-astng is distributed in the hope that it will be useful, but +# astroid is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License # for more details. # # You should have received a copy of the GNU Lesser General Public License along -# with logilab-astng. If not, see <http://www.gnu.org/licenses/>. -"""this module contains exceptions used in the astng library +# with astroid. If not, see <http://www.gnu.org/licenses/>. +"""this module contains exceptions used in the astroid library """ __doctype__ = "restructuredtext en" -class ASTNGError(Exception): - """base exception class for all astng related exceptions""" +class AstroidError(Exception): + """base exception class for all astroid related exceptions""" -class ASTNGBuildingException(ASTNGError): - """exception class when we are unable to build an astng representation""" +class AstroidBuildingException(AstroidError): + """exception class when we are unable to build an astroid representation""" -class ResolveError(ASTNGError): - """base class of astng resolution/inference error""" +class ResolveError(AstroidError): + """base class of astroid resolution/inference error""" class NotFoundError(ResolveError): """raised when we are unable to resolve a name""" @@ -39,7 +39,7 @@ class InferenceError(ResolveError): class UnresolvableName(InferenceError): """raised when we are unable to resolve a name""" -class NoDefault(ASTNGError): +class NoDefault(AstroidError): """raised by function's `default_value` method when an argument has no default value """ |