summaryrefslogtreecommitdiff
path: root/src/flake8/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/flake8/exceptions.py')
-rw-r--r--src/flake8/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/flake8/exceptions.py b/src/flake8/exceptions.py
index 5ff55a2..2b03795 100644
--- a/src/flake8/exceptions.py
+++ b/src/flake8/exceptions.py
@@ -7,6 +7,12 @@ class Flake8Exception(Exception):
pass
+class EarlyQuit(Flake8Exception):
+ """Except raised when encountering a KeyboardInterrupt."""
+
+ pass
+
+
class FailedToLoadPlugin(Flake8Exception):
"""Exception raised when a plugin fails to load."""