Exceptions#
Exception hierarchy#
Exception classes#
- exception pglift.exceptions.NotFound(name: str, hint: str | None = None)#
Base class for errors when an object with name is not found.
- exception pglift.exceptions.InstanceNotFound(name: str, hint: str | None = None)#
PostgreSQL instance not found or mis-configured.
- exception pglift.exceptions.RoleNotFound(name: str, hint: str | None = None)#
PostgreSQL role not found.
- exception pglift.exceptions.DatabaseNotFound(name: str, hint: str | None = None)#
PostgreSQL database not found.
- exception pglift.exceptions.CommandError(returncode: int, cmd: Sequence[str], stdout: str | None = None, stderr: str | None = None)#
Execution of a command, in a subprocess, failed.