exceptions
Exceptions module.
- exception spicerack.exceptions.RunCookbookError[source]
Bases:
SpicerackErrorException raised when running
spicerack.Spicerack.run_cookbook().When the method is called setting its
raisesargument toTrueand the cookbook run exit with a non-zero exit code.
- exception spicerack.exceptions.SpicerackCheckError[source]
Bases:
SpicerackErrorParent exception class for all Spicerack exceptions regarding checks.
Particularly useful when some write action is performed and then checked but in dry-run mode, as in this mode the write action will not actually change anything and the check will then fail, but should be catchable separately from the other potential exceptions that could be raised.