Exceptions¶
SystemdClientError¶
systemd_client.exceptions.SystemdClientError
¶
UnitNotFoundError¶
systemd_client.exceptions.UnitNotFoundError
¶
Bases: SystemdClientError
Raised when a unit is not found.
Source code in src/systemd_client/exceptions.py
UnitOperationError¶
systemd_client.exceptions.UnitOperationError
¶
Bases: SystemdClientError
Raised when a unit operation fails.
Source code in src/systemd_client/exceptions.py
BackendError¶
systemd_client.exceptions.BackendError
¶
Bases: SystemdClientError
Base exception for backend-related errors.
BackendNotAvailableError¶
systemd_client.exceptions.BackendNotAvailableError
¶
Bases: BackendError
Raised when a requested backend is not available.
Source code in src/systemd_client/exceptions.py
SubprocessError¶
systemd_client.exceptions.SubprocessError
¶
Bases: BackendError
Raised when a subprocess command fails unexpectedly.
Source code in src/systemd_client/exceptions.py
JournalError¶
systemd_client.exceptions.JournalError
¶
Bases: SystemdClientError
Base exception for journal-related errors.
JournalParseError¶
systemd_client.exceptions.JournalParseError
¶
Bases: JournalError
Raised when journal output cannot be parsed.