summaryrefslogtreecommitdiff
path: root/pylint/exceptions.py
diff options
context:
space:
mode:
authorƁukasz Rogalski <rogalski.91@gmail.com>2017-04-28 19:33:34 +0200
committerGitHub <noreply@github.com>2017-04-28 19:33:34 +0200
commitcb6e4523ce001012202e5767c8029fdfad21af1e (patch)
treec08ca9bfcf4e493fa057541d7928bd96f20ecac9 /pylint/exceptions.py
parent3b3bfb18498611353e5b1c86a924f9d6526e1a94 (diff)
downloadpylint-git-cb6e4523ce001012202e5767c8029fdfad21af1e.tar.gz
Raise meaningful exception for invalid reporter class being selected (#1450)
Diffstat (limited to 'pylint/exceptions.py')
-rw-r--r--pylint/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/exceptions.py b/pylint/exceptions.py
index 429379d97..783c7e5c2 100644
--- a/pylint/exceptions.py
+++ b/pylint/exceptions.py
@@ -13,3 +13,6 @@ class UnknownMessageError(Exception):
class EmptyReportError(Exception):
"""raised when a report is empty and so should not be displayed"""
+
+class InvalidReporterError(Exception):
+ """raised when selected reporter is invalid (e.g. not found)"""