diff options
author | Matthias Geier <Matthias.Geier@gmail.com> | 2016-05-20 13:38:25 +0200 |
---|---|---|
committer | Matthias Geier <Matthias.Geier@gmail.com> | 2016-05-20 13:38:25 +0200 |
commit | f1007493001cae12fe54e0f2d5207d5b4b413e88 (patch) | |
tree | 255d95dbda90924db974e5d6fa103c4e4932fdc9 /sphinx/errors.py | |
parent | c9296ba467bd1816647e021b14ed6f89c678259c (diff) | |
download | sphinx-git-f1007493001cae12fe54e0f2d5207d5b4b413e88.tar.gz |
Derive SphinxParallelError from SphinxError
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r-- | sphinx/errors.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py index 8d695c190..5fb77a135 100644 --- a/sphinx/errors.py +++ b/sphinx/errors.py @@ -67,7 +67,10 @@ class PycodeError(Exception): return res -class SphinxParallelError(Exception): +class SphinxParallelError(SphinxError): + + category = 'Sphinx parallel build error' + def __init__(self, orig_exc, traceback): self.orig_exc = orig_exc self.traceback = traceback |