Skip to content

exceptions

All Exception classes that we are using in the package.

CannotTrackError

Bases: Exception

Tracking is not possible.

Source code in mkreports/exceptions.py
54
55
56
57
class CannotTrackError(Exception):
    """Tracking is not possible."""

    pass

ContextActiveError

Bases: Exception

The code-context is active and it should not be.

Source code in mkreports/exceptions.py
66
67
68
69
class ContextActiveError(Exception):
    """The code-context is active and it should not be."""

    pass

IncorrectSuffixError

Bases: Exception

An incorrect suffix was given.

Source code in mkreports/exceptions.py
60
61
62
63
class IncorrectSuffixError(Exception):
    """An incorrect suffix was given."""

    pass

PageNotExistsError

Bases: Exception

The page does not exist.

Source code in mkreports/exceptions.py
24
25
26
27
class PageNotExistsError(Exception):
    """The page does not exist."""

    pass

ReportExistsError

Bases: Exception

Report already exists.

Source code in mkreports/exceptions.py
6
7
8
9
class ReportExistsError(Exception):
    """Report already exists."""

    pass

ReportNotExistsError

Bases: Exception

The given path for a report does not exist.

Source code in mkreports/exceptions.py
12
13
14
15
class ReportNotExistsError(Exception):
    """The given path for a report does not exist."""

    pass

ReportNotValidError

Bases: Exception

The given path does not represent a valid report.

Source code in mkreports/exceptions.py
18
19
20
21
class ReportNotValidError(Exception):
    """The given path does not represent a valid report."""

    pass

TrackerActiveError

Bases: Exception

The tracker is active and it should not be.

Source code in mkreports/exceptions.py
42
43
44
45
class TrackerActiveError(Exception):
    """The tracker is active and it should not be."""

    pass

TrackerEmptyError

Bases: Exception

The tracker is empty.

Source code in mkreports/exceptions.py
36
37
38
39
class TrackerEmptyError(Exception):
    """The tracker is empty."""

    pass

TrackerIncompleteError

Bases: Exception

The tracker has not yet completed.

Source code in mkreports/exceptions.py
30
31
32
33
class TrackerIncompleteError(Exception):
    """The tracker has not yet completed."""

    pass

TrackerNotActiveError

Bases: Exception

The tracker is not active and it should be active.

Source code in mkreports/exceptions.py
48
49
50
51
class TrackerNotActiveError(Exception):
    """The tracker is not active and it should be active."""

    pass