diff options
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 |