|
|
dispatch_error(controller,
tg_source,
tg_errors,
tg_exceptions,
*args,
**kw)
Dispatch error. |
|
|
|
|
|
|
|
|
|
|
|
|
|
try_call(func,
self,
*args,
**kw)
Call function, catch and dispatch any resulting exception. |
source code
|
|
|
|
run_with_errors(errors,
func,
self,
*args,
**kw)
Branch execution depending on presence of errors. |
source code
|
|
|
|
|
|
|
bind_rules(pre_rules)
Prepend rules to error handler specialisation. |
source code
|
|
|
|
|
|
|
| exception_handler(handler=None,
rules=None) |
source code
|
|
|
|
dispatch_failsafe(schema,
values,
errors,
source,
kw)
Dispatch fail-safe mechanism for failed inputs. |
|
|
|
|
_failsafe_none(schema,
values,
errors,
source,
kw)
No fail-safe values. |
source code
|
|
|
|
_failsafe_values_dict(schema,
values,
errors,
source,
kw)
Map erroneous inputs to values. |
source code
|
|
|
|
_failsafe_values_atom(schema,
values,
errors,
source,
kw)
Map all erroneous inputs to a single value. |
source code
|
|
|
|
_failsafe_map_errors(schema,
values,
errors,
source,
kw)
Map erroneous inputs to corresponding exceptions. |
source code
|
|
|
|
_failsafe_defaults(schema,
values,
errors,
source,
kw)
Map erroneous inputs to method defaults. |
source code
|
|