summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-17 18:24:35 +0100
committerGeorg Brandl <georg@python.org>2010-01-17 18:24:35 +0100
commit295e4e7ee85020cb7f4ed67ddc586b3d08b3d195 (patch)
treefc4e18113c037d1ba74e6996f613e90e42fb5d37 /sphinx/errors.py
parent9d05e3734252d12bd624b636152797a882f9f3df (diff)
downloadsphinx-295e4e7ee85020cb7f4ed67ddc586b3d08b3d195.tar.gz
Added ``needs_sphinx`` config value and ``Sphinx.require_sphinx`` application API function.
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py
index 4e62b1af..4738f0cc 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -50,3 +50,7 @@ class ConfigError(SphinxError):
class ThemeError(SphinxError):
category = 'Theme error'
+
+
+class VersionRequirementError(SphinxError):
+ category = 'Sphinx version error'