original_docstring: 
          Record that an error has occurred. This function records specific
          error data, then raises `ErrorRecorded` which the code is not
          supposed to catch.
  
          See `distkv.errors.ErrorRoot.record_error` for keyword details. The
          ``path`` argument is auto-filled to point to the current task.
          
docstring: Record that an error has occurred. This function records specific
  error data, then raises `ErrorRecorded` which the code is not
  supposed to catch.
  
  
docstring_tokens: Record that an error has occurred . This function records specific error data then raises ` ErrorRecorded ` which the code is not supposed to catch .
code: async def error(self, path=None, **kw):
          """
          Record that an error has occurred. This function records specific
          error data, then raises `ErrorRecorded` which the code is not
          supposed to catch.
  
          See `distkv.errors.ErrorRoot.record_error` for keyword details. The
          ``path`` argument is auto-filled to point to the current task.
          """
          if path is None:
              path = self._path
          r = await self._err.record_error("run", path, **kw)
          await self._err.root.wait_chain(r.chain)
          raise ErrorRecorded()
code_tokens: async def error ( self , path = None , ** kw ) : if path is None : path = self . _path r = await self . _err . record_error ( "run" , path , ** kw ) await self . _err . root . wait_chain ( r . chain ) raise ErrorRecorded ( )
short_docstring: Record that an error has occurred.
short_docstring_tokens: Record that an error has occurred .
comment: """
          Record that an error has occurred. This function records specific
          error data, then raises `ErrorRecorded` which the code is not
          supposed to catch.
  
          See `distkv.errors.ErrorRoot.record_error` for keyword details. The
          ``path`` argument is auto-filled to point to the current task.
          """