diff options
| author | 2023-12-08 01:03:07 +0800 | |
|---|---|---|
| committer | 2023-12-08 01:03:07 +0800 | |
| commit | e777e9261caf84be00a218b60045a14741beee7b (patch) | |
| tree | 2b0ee095438f929a27fd0af42e40554c6e1ce45d /src/hydrorollcore/exceptions.py | |
| parent | c10c8237470b5edb6a383e557324fab06fc8d855 (diff) | |
| parent | d3076462c53afc848622052611a2ed7c241434e9 (diff) | |
| download | infini-e777e9261caf84be00a218b60045a14741beee7b.tar.gz infini-e777e9261caf84be00a218b60045a14741beee7b.zip | |
Merge pull request #32 from fu050409/master
🎨 优化抽象基类
Diffstat (limited to 'src/hydrorollcore/exceptions.py')
| -rw-r--r-- | src/hydrorollcore/exceptions.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/hydrorollcore/exceptions.py b/src/hydrorollcore/exceptions.py index a7cf2c0b..62c88fa1 100644 --- a/src/hydrorollcore/exceptions.py +++ b/src/hydrorollcore/exceptions.py @@ -1,2 +1,6 @@ -class RuleLoadError(Exception): - pass +class HydroError(Exception): + """HydroRoll 异常基类""" + + +class RuleLoadError(HydroError): + """规则导入错误""" |
