Handle errors on scanning documents (refs: #5114)

This commit is contained in:
Takeshi KOMIYA
2018-06-21 23:56:29 +09:00
parent 9bc2a93d36
commit 99e6964152
3 changed files with 40 additions and 31 deletions

View File

@@ -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'