Exceptions¶
Package wide exceptions
- drain_swamp.exceptions.__all__: tuple[str, str, str] = ("PyProjectTOMLParseError", "PyProjectTOMLReadError", "MissingRequirementsFoldersFiles")¶
 Module exports
- exception drain_swamp.exceptions.MissingRequirementsFoldersFiles(msg: str)¶
 Bases:
AssertionErrorNeglected to create/prepare requirements folders and
.infiles.Unabated would produce an empty string snippet. Instead provide user feedback
- Variables:
 msg (str) – The error message
- exception drain_swamp.exceptions.PyProjectTOMLParseError(msg: str)¶
 Bases:
ValueErrorNo point in continuing if the
pyproject.tomlcan’t be parsed and loaded.- Variables:
 msg (str) – The error message