Difficult-Rocket/Difficult_Rocket/api/Exp.py

43 lines
731 B
Python
Raw Normal View History

2021-09-08 23:38:34 +08:00
# -------------------------------
# Difficult Rocket
# Copyright © 2021 by shenjackyuanjie
# All rights reserved
# -------------------------------
2021-09-02 22:47:10 +08:00
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
2021-09-09 23:54:03 +08:00
__all__ = ['TexturesError',
'LanguageError',
2021-10-31 23:26:32 +08:00
'CommandError',
2021-09-09 23:54:03 +08:00
'TestError']
2021-09-02 22:47:10 +08:00
class Error(Exception):
"""基础 Exception"""
pass
class TexturesError(Error):
"""材质相关 error"""
pass
2021-09-02 22:47:10 +08:00
2021-10-31 23:26:32 +08:00
class CommandError(Error):
"""命令解析相关 error"""
pass
2021-09-02 22:47:10 +08:00
class LanguageError(Error):
"""lang 文件相关 error"""
pass
2021-09-09 23:54:03 +08:00
class TestError(Error):
"""就像名字一样 用于测试的 error"""
2021-09-09 23:54:03 +08:00
pass