diff options
Diffstat (limited to 'repoze/bfg/exceptions.py')
| -rw-r--r-- | repoze/bfg/exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/repoze/bfg/exceptions.py b/repoze/bfg/exceptions.py index afd617a2c..a5e4755f5 100644 --- a/repoze/bfg/exceptions.py +++ b/repoze/bfg/exceptions.py @@ -1,3 +1,5 @@ +from zope.configuration.exceptions import ConfigurationError as ZCE + class Forbidden(Exception): """\ Raise this exception within :term:`view` code to immediately @@ -22,3 +24,6 @@ class NotFound(Exception): into the WSGI environment under the ``repoze.bfg.message`` key, for availability to the Not Found view.""" +class ConfigurationError(ZCE): + """ Raised when inappropriate input values are supplied to an API + method of a :term:`Configurator`""" |
