summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
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 6e8c4e1c6..b614d9ab0 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -52,6 +52,10 @@ class ThemeError(SphinxError):
category = 'Theme error'
+class VersionRequirementError(SphinxError):
+ category = 'Sphinx version error'
+
+
class PycodeError(Exception):
def __str__(self):
res = self.args[0]