mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-16 22:06:02 -05:00
24 lines
499 B
Python
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.
|
|
"""
|