Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

refactor(api/variables): VariableError as a ValueError. (#8554)

-LAN-ada9d408ac66
diff --git a/api/core/app/segments/exc.py b/api/core/app/segments/exc.py
index d15d6d500ff..5cf67c3bacc 100644
--- a/api/core/app/segments/exc.py
+++ b/api/core/app/segments/exc.py
@@ -1,2 +1,2 @@
-class VariableError(Exception):
+class VariableError(ValueError):
pass