aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/hrc/exceptions.py
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-01-04 22:38:23 +0800
committerHsiangNianian <i@jyunko.cn>2025-01-04 22:38:23 +0800
commitc990518cb533a793399e44edbb4bc036342c7175 (patch)
tree8e2bd0f833b803a73dea7d88e7c294cf3d078d4d /src/hrc/exceptions.py
parentbc57c1410c08323ba37114082d0fe609fafc2c5d (diff)
downloadHydroRollCore-main.tar.gz
HydroRollCore-main.zip
feat(core): Initialize core components and configuration modelsHEADmain
Diffstat (limited to 'src/hrc/exceptions.py')
-rw-r--r--src/hrc/exceptions.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/hrc/exceptions.py b/src/hrc/exceptions.py
new file mode 100644
index 0000000..c71118f
--- /dev/null
+++ b/src/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):
+ ...