diff options
| author | 2024-06-30 08:46:52 +0800 | |
|---|---|---|
| committer | 2024-06-30 08:46:52 +0800 | |
| commit | 87f0d8fbc019b65ff942b415b107293a1024fe1d (patch) | |
| tree | 06c6237d8110658c96109452d2c932fb87fdcbd7 /hrc/exceptions.py | |
| parent | 23ab264ebe52bd050e02c5c6a009645a252a5ea0 (diff) | |
| download | HydroRollCore-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.py | 22 |
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): + ... |
