third_party.pylibs.pylint.src/pylint/config/exceptions.py

14 lines
516 B
Python
Raw Normal View History

# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
class UnrecognizedArgumentAction(Exception):
"""Raised if an ArgumentManager instance tries to add an argument for which the action
is not recognized.
"""
class MissingArgumentManager(Exception):
"""Raised if an ArgumentManager instance to register options to is missing."""