Commits

Chris McDonough committed a58be60

HTTPNotFound and HTTPForbidden are not treated specially; the non-HTTP exceptions NotFound and Forbidden are though

Comments (0)

Files changed (1)

 2.4 or 2.3.  See the Views chapter in the Pyramid manual for details on
 exception views and raising HTTP exceptions.
 
-Pyramid catches two HTTP exceptions by default, HTTPNotFound and HTTPForbidden,
-which it sends to the Not Found View and the Forbidden View respectively. You
-can override these views to display custom HTML pages. 
+Pyramid catches two non-HTTP exceptions by default,
+``pyramid.exceptions.NotFound`` and ``pyramid.exceptions.Forbidden``, which
+it sends to the Not Found View and the Forbidden View respectively. You can
+override these views to display custom HTML pages.
 
 app_globals and cache
 ---------------------