old_contents: # pyinfra
  # File: pyinfra/api/exceptions.py
  # Desc: pyinfra's exceptions!
  
  
  class PyinfraError(Exception):
      '''
      Generic pyinfra exception.
      '''
  
  
  class OperationError(PyinfraError):
      '''
      Exception raised during fact gathering staging if an operation is unable to
      generate output/change state.
      '''
  
  
  class DeployError(PyinfraError):
      '''
      User exception for raising in deploys or sub deploys.
      '''
  
  
  class NoConnectorError(PyinfraError, TypeError):
      '''
      Raised when a requested connector is missing.
      '''
  
  
  class NoHostError(PyinfraError, TypeError):
      '''
      Raised when an inventory is missing a host.
      '''
  
  
  class NoGroupError(PyinfraError, TypeError):
      '''
      Raise when an inventory is missing a group.
      '''
  
new_contents: # pyinfra
  # File: pyinfra/api/exceptions.py
  # Desc: pyinfra's exceptions!
  
  
  class PyinfraError(Exception):
      '''
      Generic pyinfra exception.
      '''
  
  
  class OperationError(PyinfraError):
      '''
      Exception raised during fact gathering staging if an operation is unable to
      generate output/change state.
      '''
  
  
  class DeployError(PyinfraError):
      '''
      User exception for raising in deploys or sub deploys.
      '''
  
  
  class InventoryError(PyinfraError):
      '''
      Exception raised for inventory related errors.
      '''
  
  
  class NoConnectorError(PyinfraError, TypeError):
      '''
      Raised when a requested connector is missing.
      '''
  
  
  class NoHostError(PyinfraError, TypeError):
      '''
      Raised when an inventory is missing a host.
      '''
  
  
  class NoGroupError(PyinfraError, TypeError):
      '''
      Raise when an inventory is missing a group.
      '''
  
subject: Add new exception: `InventoryError`.