summaryrefslogtreecommitdiff
path: root/pokemontools/exceptions.py
blob: 2ccc58a982ebd0b40ed29103b83162751042e3a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
Custom exceptions used throughout the project.
"""

class AddressException(Exception):
    """
    There was a problem with an address. Maybe it was out of range or invalid.
    """

class TextScriptException(Exception):
    """
    TextScript encountered an inconsistency or problem.
    """

class ConfigException(Exception):
    """
    Configuration error. Maybe a missing config variable.
    """