# pyinfra.api.exceptions module

exception `pyinfra.api.exceptions.``DeployError`

  Bases: `pyinfra.api.exceptions.PyinfraError`

  User exception for raising in deploys or sub deploys.

exception `pyinfra.api.exceptions.``NoGroupError`

  Bases: `pyinfra.api.exceptions.PyinfraError`, `TypeError`

  Raise when an inventory is missing a group.

exception `pyinfra.api.exceptions.``NoHostError`

  Bases: `pyinfra.api.exceptions.PyinfraError`, `TypeError`

  Raised when an inventory is missing a host.

exception `pyinfra.api.exceptions.``OperationError`

  Bases: `pyinfra.api.exceptions.PyinfraError`

  Exception raised during fact gathering staging if an operation is unable to generate output/change state.

exception `pyinfra.api.exceptions.``PyinfraError`

  Bases: `Exception`

  Generic pyinfra exception.