Recursion error
Classes:
| Name | Description |
|---|---|
GraphRecursionError |
Exception raised when graph execution exceeds the recursion limit. |
Attributes:
| Name | Type | Description |
|---|---|---|
logger |
|
Attributes¶
Classes¶
GraphRecursionError
¶
Bases: GraphError
Exception raised when graph execution exceeds the recursion limit.
This exception is used to indicate that a graph operation has recursed too deeply.
Example
from agentflow.exceptions.recursion_error import GraphRecursionError raise GraphRecursionError("Recursion limit exceeded in graph execution")
Methods:
| Name | Description |
|---|---|
__init__ |
Initializes a GraphRecursionError with the given message. |
Source code in agentflow/exceptions/recursion_error.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
Functions¶
__init__
¶
__init__(message)
Initializes a GraphRecursionError with the given message.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
Description of the recursion error. |
required |
Source code in agentflow/exceptions/recursion_error.py
20 21 22 23 24 25 26 27 28 | |