summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-06-21 23:56:29 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-07-16 14:56:46 +0900
commit99e696415290900cc174defd8fa74ec8645dd0aa (patch)
tree2cb1184fc0c3eda8683ea99e39b479802258b869 /sphinx/errors.py
parent9bc2a93d361c3505d810f8ab1953fa06a90de191 (diff)
downloadsphinx-git-99e696415290900cc174defd8fa74ec8645dd0aa.tar.gz
Handle errors on scanning documents (refs: #5114)
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py
index 83c1bd9da..e97447e86 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -82,6 +82,11 @@ class ConfigError(SphinxError):
category = 'Configuration error'
+class DocumentError(SphinxError):
+ """Document error."""
+ category = 'Document error'
+
+
class ThemeError(SphinxError):
"""Theme error."""
category = 'Theme error'