summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-21 01:02:45 +0900
committerGitHub <noreply@github.com>2018-01-21 01:02:45 +0900
commit3413590edd75af664f46b2fcd5e50c18c4c4ec79 (patch)
tree354374de5fe4b50e66a8f6620f7cff351dda5d97 /sphinx/errors.py
parent3431955edff5e45de75fd3029affb060266adc09 (diff)
parent30b7f3f4d6bdff7e8f9470f7ce385b9af4a1d7a8 (diff)
downloadsphinx-git-3413590edd75af664f46b2fcd5e50c18c4c4ec79.tar.gz
Merge pull request #4436 from stephenfin/directory-validation
app: Centralize directory validation
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 28592806a..7652e93cb 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -43,6 +43,11 @@ class SphinxWarning(SphinxError):
category = 'Warning, treated as error'
+class ApplicationError(SphinxError):
+ """Application initialization error."""
+ category = 'Application error'
+
+
class ExtensionError(SphinxError):
"""Extension error."""
category = 'Extension error'