Back to index

moin  1.9.0~rc2
Classes | Functions | Variables
MoinMoin.support.werkzeug.exceptions Namespace Reference

Classes

class  HTTPException
class  _ProxyException
class  BadRequest
class  Unauthorized
class  Forbidden
class  NotFound
class  MethodNotAllowed
class  NotAcceptable
class  RequestTimeout
class  Gone
class  LengthRequired
class  PreconditionFailed
class  RequestEntityTooLarge
class  RequestURITooLarge
class  UnsupportedMediaType
class  InternalServerError
class  NotImplemented
class  BadGateway
class  ServiceUnavailable
class  Aborter

Functions

def _find_exceptions

Variables

dictionary default_exceptions = {}
list __all__ = ['HTTPException']
tuple HTTPUnicodeError = BadRequest.wrap(UnicodeError, 'HTTPUnicodeError')
tuple abort = Aborter()

Function Documentation

Definition at line 400 of file exceptions.py.

00400 
00401 def _find_exceptions():
00402     for name, obj in globals().iteritems():
00403         try:
00404             if getattr(obj, 'code', None) is not None:
00405                 default_exceptions[obj.code] = obj
00406                 __all__.append(obj.__name__)
00407         except TypeError:
00408             continue
_find_exceptions()

Variable Documentation

Definition at line 398 of file exceptions.py.

Definition at line 441 of file exceptions.py.

Definition at line 397 of file exceptions.py.

Definition at line 414 of file exceptions.py.