Mercurial > p > roundup > code
view roundup/cgi/exceptions.py @ 2025:e13d11bb7ee8
don't insert spaces into designators, it just confuses users [SF#898087]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 16 Feb 2004 21:13:04 +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."""
