feat: 添加ImmediateException
This commit is contained in:
parent
6267b3f670
commit
0f7a7ef44f
6
app/schemas/exception.py
Normal file
6
app/schemas/exception.py
Normal file
@ -0,0 +1,6 @@
|
||||
class ImmediateException(Exception):
|
||||
"""
|
||||
用于立即抛出异常而不重试的特殊异常类。
|
||||
当不希望使用重试机制时,可以抛出此异常。
|
||||
"""
|
||||
pass
|
Loading…
x
Reference in New Issue
Block a user