code: def tb_capture(func):
      
  
      @wraps(func)
      def wrapper(*args, **kwds):
          try:
              return func(*args, **kwds)
  
          except Exception:
              raise MuchoChildError()
  
      return wrapper
docs: A decorator which captures worker tracebacks.
  
      Tracebacks in particular, are captured. Inspired by an example in
      https://bugs.python.org/issue13831.
  
      This decorator wraps rio-mucho worker tasks.
  
      Parameters
      ----------
      func : function
          A function to be decorated.
  
      Returns
      -------
      func