summaryrefslogtreecommitdiff
path: root/_exceptions.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-12-02 10:53:33 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-12-02 10:53:33 +0100
commit47a17eee2201e7c878ed75cd67c3fdae13dbe8e3 (patch)
tree45b126a827d64b4565c241935df3ca4a77074d84 /_exceptions.py
parentfb64c733945e719d8b5d3f5e467cb0c0b01a0fb0 (diff)
downloadastroid-git-47a17eee2201e7c878ed75cd67c3fdae13dbe8e3.tar.gz
reduce circular imports I: import exceptions directly
- rename exceptions module: it's exported to Pylint anyway
Diffstat (limited to '_exceptions.py')
-rw-r--r--_exceptions.py60
1 files changed, 0 insertions, 60 deletions
diff --git a/_exceptions.py b/_exceptions.py
deleted file mode 100644
index 7dd6135e..00000000
--- a/_exceptions.py
+++ /dev/null
@@ -1,60 +0,0 @@
-# This program 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 of the License, or (at your option) any later
-# version.
-#
-# This program 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
-# this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
-# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
-# copyright 2003-2010 Sylvain Thenault, all rights reserved.
-# contact mailto:thenault@gmail.com
-#
-# This file is part of logilab-astng.
-#
-# logilab-astng 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
-# 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
-
-"""
-
-__doctype__ = "restructuredtext en"
-
-class ASTNGError(Exception):
- """base exception class for all astng related exceptions"""
-
-class ASTNGBuildingException(ASTNGError):
- """exception class when we are unable to build an astng representation"""
-
-class ResolveError(ASTNGError):
- """base class of astng resolution/inference error"""
-
-class NotFoundError(ResolveError):
- """raised when we are unable to resolve a name"""
-
-class InferenceError(ResolveError):
- """raised when we are unable to infer a node"""
-
-class UnresolvableName(InferenceError):
- """raised when we are unable to resolve a name"""
-
-class NoDefault(ASTNGError):
- """raised by function's `default_value` method when an argument has
- no default value
- """
-