pyinfra.api.exceptions module¶
-
exception
pyinfra.api.exceptions.
ArgumentTypeError
¶ Bases:
PyinfraError
,TypeError
Raised when global arguments are passed with invalid types.
-
exception
pyinfra.api.exceptions.
ConnectError
¶ Bases:
PyinfraError
Exception raised when connecting fails.
-
exception
pyinfra.api.exceptions.
ConnectorDataTypeError
¶ Bases:
PyinfraError
,TypeError
Raised when host connector data has invalid types.
-
exception
pyinfra.api.exceptions.
DeployError
¶ Bases:
PyinfraError
User exception for raising in deploys or sub deploys.
-
exception
pyinfra.api.exceptions.
FactError
¶ Bases:
PyinfraError
Exception raised during fact gathering staging if a fact is unable to generate output/change state.
-
exception
pyinfra.api.exceptions.
FactTypeError
¶ Bases:
FactError
,TypeError
Exception raised when a fact is passed invalid argument types.
-
exception
pyinfra.api.exceptions.
FactValueError
¶ Bases:
FactError
,ValueError
Exception raised when a fact is passed invalid argument values.
-
exception
pyinfra.api.exceptions.
InventoryError
¶ Bases:
PyinfraError
Exception raised for inventory related errors.
-
exception
pyinfra.api.exceptions.
NoConnectorError
¶ Bases:
PyinfraError
,ValueError
Raised when a requested connector is missing.
-
exception
pyinfra.api.exceptions.
NoGroupError
¶ Bases:
PyinfraError
,KeyError
Raised when an inventory is missing a group.
-
exception
pyinfra.api.exceptions.
NoHostError
¶ Bases:
PyinfraError
,KeyError
Raised when an inventory is missing a host.
-
exception
pyinfra.api.exceptions.
OperationError
¶ Bases:
PyinfraError
Exception raised during fact gathering staging if an operation is unable to generate output/change state.
-
exception
pyinfra.api.exceptions.
OperationTypeError
¶ Bases:
OperationError
,TypeError
Exception raised when an operation is passed invalid argument types.
-
exception
pyinfra.api.exceptions.
OperationValueError
¶ Bases:
OperationError
,ValueError
Exception raised when an operation is passed invalid argument values.
-
exception
pyinfra.api.exceptions.
PyinfraError
¶ Bases:
Exception
Generic pyinfra exception.