mirror of
https://github.com/langgenius/dify.git
synced 2026-04-11 03:56:55 +08:00
27 lines
781 B
Python
27 lines
781 B
Python
class IterationNodeError(ValueError):
|
|
"""Base class for iteration node errors."""
|
|
|
|
|
|
class IteratorVariableNotFoundError(IterationNodeError):
|
|
"""Raised when the iterator variable is not found."""
|
|
|
|
|
|
class InvalidIteratorValueError(IterationNodeError):
|
|
"""Raised when the iterator value is invalid."""
|
|
|
|
|
|
class StartNodeIdNotFoundError(IterationNodeError):
|
|
"""Raised when the start node ID is not found."""
|
|
|
|
|
|
class IterationGraphNotFoundError(IterationNodeError):
|
|
"""Raised when the iteration graph is not found."""
|
|
|
|
|
|
class IterationIndexNotFoundError(IterationNodeError):
|
|
"""Raised when the iteration index is not found."""
|
|
|
|
|
|
class ChildGraphAbortedError(IterationNodeError):
|
|
"""Raised when a child graph aborts and the container must stop immediately."""
|