Skip to content

Exceptions

PgDumpCommandError

Bases: PumException

Exception raised for invalid pg_dump command.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PgDumpFailed

Bases: PumException

Exception raised when pg_dump fails.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PgRestoreCommandError

Bases: PumException

Exception raised for invalid pg_restore command.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PgRestoreFailed

Bases: PumException

Exception raised when pg_restore fails.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PumConfigError

Bases: PumException

Exception raised for errors in the PUM configuration.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PumDependencyError

Bases: PumException

Exception when dependency are not resolved.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PumException

Bases: Exception

Base class for all exceptions raised by PUM.

Version Added

1.0.0

Source code in pum/exceptions.py
2
3
4
5
6
7
class PumException(Exception):
    """Base class for all exceptions raised by PUM.

    Version Added:
        1.0.0
    """

PumHookError

Bases: PumException

Exception raised for errors by an invalid hook.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PumInvalidChangelog

Bases: PumException

Exception raised for invalid changelog.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PumSchemaMigrationError

Bases: PumException

Exception raised for errors related to schema migrations.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PumSchemaMigrationNoBaselineError

Bases: PumSchemaMigrationError

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

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """

PumSqlError

Bases: PumException

Exception raised for SQL-related errors in PUM.

Version Added

1.0.0

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

    Version Added:
        1.0.0
    """