Source code for pyautoupdate.exceptions

"""Exceptions and warnings for Pyautoupdate."""

[docs]class PyautoupdateBaseException(Exception): """Base exception for all pyautoupdate errors"""
[docs]class PyautoupdateBaseWarning(Warning): """Base warning for all pyautoupdate errors"""
[docs]class ProcessRunningException(PyautoupdateBaseException): """Exception when process is already running"""
[docs]class CorruptedFileWarning(PyautoupdateBaseWarning): """Warning that critical files are corrupted"""