Skip to content

Exceptions

PgDumpCommandError

Bases: PumException

Exception raised for invalid pg_dump command.

Source code in pum/exceptions.py
class PgDumpCommandError(PumException):
    """Exception raised for invalid pg_dump command."""

PgDumpFailed

Bases: PumException

Exception raised when pg_dump fails.

Source code in pum/exceptions.py
class PgDumpFailed(PumException):
    """Exception raised when pg_dump fails."""

PgRestoreCommandError

Bases: PumException

Exception raised for invalid pg_restore command.

Source code in pum/exceptions.py
class PgRestoreCommandError(PumException):
    """Exception raised for invalid pg_restore command."""

PgRestoreFailed

Bases: PumException

Exception raised when pg_restore fails.

Source code in pum/exceptions.py
class PgRestoreFailed(PumException):
    """Exception raised when pg_restore fails."""

PumConfigError

Bases: PumException

Exception raised for errors in the PUM configuration.

Source code in pum/exceptions.py
class PumConfigError(PumException):
    """Exception raised for errors in the PUM configuration."""

PumDependencyError

Bases: PumException

Exception when dependency are not resolved

Source code in pum/exceptions.py
class PumDependencyError(PumException):
    """Exception when dependency are not resolved"""

PumException

Bases: Exception

Base class for all exceptions raised by PUM.

Source code in pum/exceptions.py
class PumException(Exception):
    """Base class for all exceptions raised by PUM."""

PumHookError

Bases: PumException

Exception raised for errors by an invalid hook.

Source code in pum/exceptions.py
class PumHookError(PumException):
    """Exception raised for errors by an invalid hook."""

PumInvalidChangelog

Bases: PumException

Exception raised for invalid changelog.

Source code in pum/exceptions.py
class PumInvalidChangelog(PumException):
    """Exception raised for invalid changelog."""

PumSchemaMigrationError

Bases: PumException

Exception raised for errors related to schema migrations.

Source code in pum/exceptions.py
class PumSchemaMigrationError(PumException):
    """Exception raised for errors related to schema migrations."""

PumSchemaMigrationNoBaselineError

Bases: PumSchemaMigrationError

Exception raised when no baseline version is found in the migration table.

Source code in pum/exceptions.py
class PumSchemaMigrationNoBaselineError(PumSchemaMigrationError):
    """Exception raised when no baseline version is found in the migration table."""

PumSqlError

Bases: PumException

Exception raised for SQL-related errors in PUM.

Source code in pum/exceptions.py
class PumSqlError(PumException):
    """Exception raised for SQL-related errors in PUM."""