diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-02 09:59:56 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-02 10:21:44 +0300 |
commit | 0d7bc86e7b59759b8476669f19b2390d6ac00d3a (patch) | |
tree | 3549ec7c7ad7df2df36d1a94115ce46dc01937ea /sphinx/errors.py | |
parent | 321ad49e0304b68371c1442cf49f06d08bbf98ad (diff) |
refactor: move NoUri to sphinx.errors
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 947a1df27..7f8b1fbd5 100644 --- a/sphinx/errors.py +++ b/sphinx/errors.py @@ -121,3 +121,8 @@ class PycodeError(Exception): if len(self.args) > 1: res += ' (exception was: %r)' % self.args[1] return res + + +class NoUri(Exception): + """Raised by builder.get_relative_uri() if there is no URI available.""" + pass |