class Aborter:
When passed a dict of code -> exception items it can be used as callable that raises exceptions. If the first argument to the callable is an integer it will be looked up in the mapping, if it's a WSGI application it will be raised in a proxy exception.
The rest of the arguments are forwarded to the exception constructor.
Undocumented
Parameters | |
code:t.Union[ | Undocumented |
*args:t.Any | Undocumented |
**kwargs:t.Any | Undocumented |
Returns | |
te.NoReturn | Undocumented |
Undocumented
Parameters | |
mapping:t.Optional[ | Undocumented |
extra:t.Optional[ | Undocumented |