Home | Trees | Indices | Help |
|
---|
|
Error handling functions.
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
FailsafeSchema = Enum('none', 'values', 'map_errors', 'defaults')
|
Function Details |
Dispatch error. Error handler is a function registered via register_handler or if no such decorator was applied, the method triggering the error.
|
Construct a signature isomorphic to dispatch_error. The actual handler will receive only arguments explicitly declared, and a possible tg_format parameter. |
Register handler as an error handler for decorated method. If handler is not given, method is considered its own error handler. rules can be a string containing an arbitrary logical Python expression to be used as dispatch rule allowing multiple error handlers for a single method. register_handler decorator is an invariant. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 19 17:20:01 2019 | http://epydoc.sourceforge.net |