Skip to content

error.py

Error class library.

UnsupportedTableType

Bases: Exception

Exception raised on unsupported table types.

Source code in pharus/error.py
4
5
6
7
class UnsupportedTableType(Exception):
    """Exception raised on unsupported table types."""

    pass

InvalidRestriction

Bases: Exception

Exception raised when restrictions result in no records when expected at least one.

Source code in pharus/error.py
10
11
12
13
class InvalidRestriction(Exception):
    """Exception raised when restrictions result in no records when expected at least one."""

    pass

SchemaNotFound

Bases: Exception

Exception raised when a given schema is not found to exist

Source code in pharus/error.py
16
17
18
19
class SchemaNotFound(Exception):
    """Exception raised when a given schema is not found to exist"""

    pass

TableNotFound

Bases: Exception

Exception raised when a given table is not found to exist

Source code in pharus/error.py
22
23
24
25
class TableNotFound(Exception):
    """Exception raised when a given table is not found to exist"""

    pass