mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 15:26:21 +08:00
17 lines
301 B
Python
17 lines
301 B
Python
class CodeNodeError(ValueError):
|
|
"""Base class for code node errors."""
|
|
|
|
pass
|
|
|
|
|
|
class OutputValidationError(CodeNodeError):
|
|
"""Raised when there is an output validation error."""
|
|
|
|
pass
|
|
|
|
|
|
class DepthLimitError(CodeNodeError):
|
|
"""Raised when the depth limit is reached."""
|
|
|
|
pass
|