summaryrefslogtreecommitdiff
path: root/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'exceptions.py')
-rw-r--r--exceptions.py24
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
"""