diff --git a/app/schemas/exception.py b/app/schemas/exception.py new file mode 100644 index 00000000..8a536d71 --- /dev/null +++ b/app/schemas/exception.py @@ -0,0 +1,6 @@ +class ImmediateException(Exception): + """ + 用于立即抛出异常而不重试的特殊异常类。 + 当不希望使用重试机制时,可以抛出此异常。 + """ + pass