onyo.lib.exceptions module
- exception onyo.lib.exceptions.InvalidArgumentError[source]
Bases:
ExceptionRaised a (CLI-) command is invalidly called beyond what’s covered by argparse.
- exception onyo.lib.exceptions.InvalidInventoryOperationError[source]
Bases:
InventoryOperationErrorRaised if an invalid inventory operation is requested.
- exception onyo.lib.exceptions.InventoryDirNotEmpty[source]
Bases:
InvalidInventoryOperationErrorRaised if an inventory directory needs to be empty to perform an operation but is not.
- exception onyo.lib.exceptions.InventoryOperationError[source]
Bases:
ExceptionRaised if an inventory operation cannot be executed.
- exception onyo.lib.exceptions.NoopError[source]
Bases:
InventoryOperationErrorRaised if a requested operation is a Noop.
- exception onyo.lib.exceptions.NotADirError[source]
Bases:
ExceptionRaised if an object is expected to be a directory but is not.
- exception onyo.lib.exceptions.NotAnAssetError[source]
Bases:
ExceptionRaised if an object is expected to be an asset but is not.
- exception onyo.lib.exceptions.OnyoInvalidFilterError[source]
Bases:
ExceptionRaised if filters are invalidly defined.
- exception onyo.lib.exceptions.OnyoInvalidRepoError[source]
Bases:
OnyoRepoErrorRaised if the repository is invalid.
- exception onyo.lib.exceptions.OnyoProtectedPathError[source]
Bases:
ExceptionRaised if path is protected (.anchor, .git/, .onyo/).
- exception onyo.lib.exceptions.OnyoRepoError[source]
Bases:
ExceptionRaised if something is wrong with an Onyo repository.
- exception onyo.lib.exceptions.PendingInventoryOperationError[source]
Bases:
InventoryOperationErrorRaised if there are unexpected pending operations.