old_contents: #!/usr/bin/env python
  """Exceptions
  """
  
  
  class ScriptWorkerException(Exception):
      pass
  
  
  class ScriptWorkerRetryException(ScriptWorkerException):
      def __init__(self, msg, **kwargs):
          super(ScriptWorkerRetryException, self).__init__(self, msg)
          self.kwargs = kwargs
  
new_contents: #!/usr/bin/env python
  """Exceptions
  """
  
  
  class ScriptWorkerException(Exception):
      pass
  
  
  class ScriptWorkerRetryException(ScriptWorkerException):
      def __init__(self, msg, **kwargs):
          super(ScriptWorkerRetryException, self).__init__(self, msg)
          self.kwargs = kwargs
  
  
  class ScriptWorkerTaskException(ScriptWorkerException):
      pass
  
subject: add a task exception