diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-06-21 17:56:29 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-07-16 08:56:46 +0300 |
commit | 99e696415290900cc174defd8fa74ec8645dd0aa (patch) | |
tree | 2cb1184fc0c3eda8683ea99e39b479802258b869 /sphinx/errors.py | |
parent | 9bc2a93d361c3505d810f8ab1953fa06a90de191 (diff) |
Handle errors on scanning documents (refs: #5114)
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r-- | sphinx/errors.py | 5 |
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' |