:py:mod:`tblib.decorators` ========================== .. py:module:: tblib.decorators Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: tblib.decorators.Error Functions ~~~~~~~~~ .. autoapisummary:: tblib.decorators.return_error tblib.decorators.apply_with_return_error .. py:class:: Error(exc_type, exc_value, traceback) .. py:property:: traceback .. py:method:: reraise() .. py:function:: return_error(func, exc_type=Exception) .. py:function:: apply_with_return_error(args) 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)