From 0482bd06bcde5601ea2ab3b01b774e03f92160b7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 12 Jul 2010 13:50:49 +0000 Subject: - New internal exception: ``repoze.bfg.exceptions.URLDecodeError``. This URL is a subclass of the built-in Python exception named ``UnicodeDecodeError``. - When decoding a URL segment to Unicode fails, the exception raised is now ``repoze.bfg.exceptions.URLDecodeError`` instead of ``UnicodeDecodeError``. This makes it possible to register an exception view invoked specifically when ``repoze.bfg`` cannot decode a URL. --- docs/api/exceptions.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/api/exceptions.rst') diff --git a/docs/api/exceptions.rst b/docs/api/exceptions.rst index 585292f39..94c75cc5c 100644 --- a/docs/api/exceptions.rst +++ b/docs/api/exceptions.rst @@ -11,3 +11,4 @@ .. autoclass:: ConfigurationError + .. autoclass:: URLDecodeError -- cgit v1.2.3