errr package
Submodules
errr.exception module
- class errr.exception.DetailedErrorMetaclass
Bases:
type
errr.tree module
- errr.tree.exception(*args, **kwargs)
Registers an exception. To be used inside of a make_tree call. All arguments will be treated as detail labels for the generated exception and all keyword arguments must be calls to this function to register the child exceptions.
The return value can be chained with a call to .set(**kwargs) that passes the given keyword arguments to the class argument list of the product exception.
For examples see the make_tree documentation.
- errr.tree.make_tree(module_dict, **kwargs)
Module contents
- errr.wrap(err_type, *args, **kwargs)