summaryrefslogtreecommitdiff
path: root/ATRI/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/exceptions.py')
-rw-r--r--ATRI/exceptions.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/ATRI/exceptions.py b/ATRI/exceptions.py
new file mode 100644
index 0000000..f3c4f5c
--- /dev/null
+++ b/ATRI/exceptions.py
@@ -0,0 +1,14 @@
+class ATRIError(BaseException):
+ pass
+
+
+class InvalidConfigError(ATRIError):
+ """配置文件有问题"""
+
+
+class InvalidPluginError(ATRIError):
+ """插件有问题"""
+
+
+class InvalidRequestError(ATRIError):
+ """网络请求有问题"""