diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2017-05-13 06:52:08 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2017-05-13 06:52:08 -0500 |
| commit | 15ddc3aa2e32187a2079d87f9e91fd2e6f03f60c (patch) | |
| tree | a7c0cadb31bb2509b8806e92248934a8881c3d2c /src/flake8/exceptions.py | |
| parent | b6c0cce3e6aa450a2d130bf59b19b7cd34f1291c (diff) | |
| download | flake8-15ddc3aa2e32187a2079d87f9e91fd2e6f03f60c.tar.gz | |
Handle missing default formatter
In the event that we cannot load our plugins, we shouldn't raise a
cryptic KeyError from our formatter.
Closes #320
Diffstat (limited to 'src/flake8/exceptions.py')
| -rw-r--r-- | src/flake8/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flake8/exceptions.py b/src/flake8/exceptions.py index cf8aae3..13e8996 100644 --- a/src/flake8/exceptions.py +++ b/src/flake8/exceptions.py @@ -13,6 +13,10 @@ class EarlyQuit(Flake8Exception): pass +class ExecutionError(Flake8Exception): + """Exception raised during execution of Flake8.""" + + class FailedToLoadPlugin(Flake8Exception): """Exception raised when a plugin fails to load.""" |
