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.

fix(variable_assigner): change VariableOperatorNodeError to inherit from ValueError (#11951)

-LAN-03ddee3663ee
diff --git a/api/core/workflow/nodes/variable_assigner/common/exc.py b/api/core/workflow/nodes/variable_assigner/common/exc.py
index a1178fb0203..f8dbedc2901 100644
--- a/api/core/workflow/nodes/variable_assigner/common/exc.py
+++ b/api/core/workflow/nodes/variable_assigner/common/exc.py
@@ -1,4 +1,4 @@
-class VariableOperatorNodeError(Exception):
+class VariableOperatorNodeError(ValueError):
"""Base error type, don't use directly."""
pass