Skip to content

exceptions

PumConfigError

Bases: PumException

Exception raised for errors in the PUM configuration.

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

    pass

PumException

Bases: Exception

Base class for all exceptions raised by PUM.

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

    pass

PumInvalidChangelog

Bases: PumException

Exception raised for invalid changelog.

Attributes:

Name Type Description
message str

Explanation of the error.

Source code in pum/exceptions.py
18
19
20
21
22
23
24
25
26
class PumInvalidChangelog(PumException):
    """Exception raised for invalid changelog.

    Attributes:
        message (str): Explanation of the error.
    """

    def __init__(self, message):
        super().__init__(message)

PumMigrationError

Bases: PumException

Exception raised for errors in the PUM migration process.

Source code in pum/exceptions.py
35
36
37
38
class PumMigrationError(PumException):
    """Exception raised for errors in the PUM migration process."""

    pass

PumSqlException

Bases: PumException

Exception raised for SQL-related errors in PUM.

Attributes:

Name Type Description
message str

Explanation of the error.

Source code in pum/exceptions.py
 7
 8
 9
10
11
12
13
14
15
class PumSqlException(PumException):
    """Exception raised for SQL-related errors in PUM.

    Attributes:
        message (str): Explanation of the error.
    """

    def __init__(self, message):
        super().__init__(message)

PumVersionError

Bases: PumException

Exception raised for version-related errors in PUM.

Source code in pum/exceptions.py
41
42
43
44
class PumVersionError(PumException):
    """Exception raised for version-related errors in PUM."""

    pass