diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-21 01:02:45 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-21 01:02:45 +0900 |
commit | 3413590edd75af664f46b2fcd5e50c18c4c4ec79 (patch) | |
tree | 354374de5fe4b50e66a8f6620f7cff351dda5d97 /sphinx/errors.py | |
parent | 3431955edff5e45de75fd3029affb060266adc09 (diff) | |
parent | 30b7f3f4d6bdff7e8f9470f7ce385b9af4a1d7a8 (diff) | |
download | sphinx-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.py | 5 |
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' |