aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/exceptions.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-06-30 08:46:52 +0800
committer简律纯 <i@jyunko.cn>2024-06-30 08:46:52 +0800
commit87f0d8fbc019b65ff942b415b107293a1024fe1d (patch)
tree06c6237d8110658c96109452d2c932fb87fdcbd7 /hrc/exceptions.py
parent23ab264ebe52bd050e02c5c6a009645a252a5ea0 (diff)
downloadHydroRollCore-87f0d8fbc019b65ff942b415b107293a1024fe1d.tar.gz
HydroRollCore-87f0d8fbc019b65ff942b415b107293a1024fe1d.zip
feat(exception): enrich exceptions:: EventException, SkipException, StopException, CoreException, GetEventTimeOut, LoudModuleError
Diffstat (limited to 'hrc/exceptions.py')
-rw-r--r--hrc/exceptions.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/hrc/exceptions.py b/hrc/exceptions.py
index e69de29..c71118f 100644
--- a/hrc/exceptions.py
+++ b/hrc/exceptions.py
@@ -0,0 +1,22 @@
+class EventException(BaseException):
+ ...
+
+
+class SkipException(EventException):
+ ...
+
+
+class StopException(EventException):
+ ...
+
+
+class CoreException(Exception):
+ ... # noqa: N818
+
+
+class GetEventTimeout(CoreException):
+ ...
+
+
+class LoadModuleError(CoreException):
+ ...