Mercurial > p > roundup > code
view roundup/cgi/exceptions.py @ 2034:be047db3dd3d
Eudora can't handle utf-8 headers. We love Eudora. [SF#900046]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 23 Feb 2004 05:29:06 +0000 |
| parents | 1782fe36e7b8 |
| children | 78e6a1e4984e |
line wrap: on
line source
class HTTPException(Exception): pass class Unauthorised(HTTPException): pass class Redirect(HTTPException): pass class NotFound(HTTPException): pass class NotModified(HTTPException): pass class FormError(ValueError): """An 'expected' exception occurred during form parsing. That is, something we know can go wrong, and don't want to alarm the user with. We trap this at the user interface level and feed back a nice error to the user. """ pass class SendFile(Exception): """Send a file from the database.""" class SendStaticFile(Exception): """Send a static file from the instance html directory."""
