pokemon-reverse-engineering.../pokemontools/exceptions.py
Bryan Bishop 8ebf9b05b5 make ConfigException accessible
Apparently the "exceptions" name is already used for another module.
2013-11-17 18:34:57 -06:00

24 lines
499 B
Python

"""
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 PreprocessorException(Exception):
"""
There was a problem in the preprocessor.
"""
class MacroException(PreprocessorException):
"""
There was a problem with a macro.
"""