From 87f0d8fbc019b65ff942b415b107293a1024fe1d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sun, 30 Jun 2024 08:46:52 +0800 Subject: feat(exception): enrich exceptions:: EventException, SkipException, StopException, CoreException, GetEventTimeOut, LoudModuleError --- hrc/exceptions.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'hrc/exceptions.py') 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): + ... -- cgit v1.2.3-70-g09d2