tblib
tblib.decorators
Error
reraise(tp, value[, tb])
reraise
return_error(func[, exc_type])
return_error
apply_with_return_error(args)
apply_with_return_error
args is a tuple where the first argument is a callable.
eg:
apply_with_return_error((func, 1, 2, 3)) - this will call func(1, 2, 3)