code: def reportException(self, *args, **kwargs):
          
  
          return self._makeApiCall(self.funcinfo["reportException"], *args, **kwargs)
docs: Report Task Exception
  
          Resolve a run as _exception_. Generally, you will want to report tasks as
          failed instead of exception. You should `reportException` if,
  
            * The `task.payload` is invalid,
            * Non-existent resources are referenced,
            * Declared actions cannot be executed due to unavailable resources,
            * The worker had to shutdown prematurely,
            * The worker experienced an unknown error, or,
            * The task explicitly requested a retry.
  
          Do not use this to signal that some user-specified code crashed for any
          reason specific to this code. If user-specific code hits a resource that
          is temporarily unavailable worker should report task _failed_.
  
          This method takes input: ``v1/task-exception-request.json#``
  
          This method gives output: ``v1/task-status-response.json#``
  
          This method is ``stable``