From 02d059655d26f7c42c79026a3c55087be5f5b746 Mon Sep 17 00:00:00 2001 From: Yeuoly Date: Tue, 13 May 2025 17:13:05 +0800 Subject: [PATCH] feat: add EndpointSetupFailedError exception for better error handling --- api/core/plugin/endpoint/exc.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 api/core/plugin/endpoint/exc.py diff --git a/api/core/plugin/endpoint/exc.py b/api/core/plugin/endpoint/exc.py new file mode 100644 index 0000000000..aa29f1e9a1 --- /dev/null +++ b/api/core/plugin/endpoint/exc.py @@ -0,0 +1,6 @@ +class EndpointSetupFailedError(ValueError): + """ + Endpoint setup failed error + """ + + pass