Sha256: 210f5290c77e2a2bed1988b663996f1d57130178ae3e8bdeb61950f6d49e7cd5

Contents?: true

Size: 1.77 KB

Versions: 46

Compression:

Stored size: 1.77 KB

Contents

# 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 astroid.
#
# 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.
#
# 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 astroid. If not, see <http://www.gnu.org/licenses/>.
"""this module contains exceptions used in the astroid library

"""

__doctype__ = "restructuredtext en"

class AstroidError(Exception):
    """base exception class for all astroid related exceptions"""

class AstroidBuildingException(AstroidError):
    """exception class when we are unable to build an astroid representation"""

class ResolveError(AstroidError):
    """base class of astroid 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 UseInferenceDefault(Exception):
    """exception to be raised in custom inference function to indicate that it
    should go back to the default behaviour
    """

class UnresolvableName(InferenceError):
    """raised when we are unable to resolve a name"""

class NoDefault(AstroidError):
    """raised by function's `default_value` method when an argument has
    no default value
    """

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
libv8-6.7.288.46.1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.7.288.46.0 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.7.288.46.1beta0 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.3.292.48.1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.3.292.48.0 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.3.292.48.0beta2 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.3.292.48.0beta1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.2.414.42.1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.2.414.42.0 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.2.414.42.0beta1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.0.286.54.3 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.0.286.54.2 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.0.286.54.1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.0.286.54.0 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.0.286.54.0beta2 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.0.286.54.0beta1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-6.0.286.44.0beta1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-5.9.211.38.1 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-5.9.211.38.0 vendor/depot_tools/third_party/logilab/astroid/exceptions.py
libv8-5.9.211.38.0beta0 vendor/depot_tools/third_party/logilab/astroid/exceptions.py