Movatterモバイル変換


[0]ホーム

URL:


Skip to content
OurBuilding Ambient Agents with LangGraph course is now available on LangChain Academy!

Errors

Classes:

NameDescription
GraphRecursionError

Raised when the graph has exhausted the maximum number of steps.

InvalidUpdateError

Raised when attempting to update a channel with an invalid set of updates.

GraphInterrupt

Raised when a subgraph is interrupted, suppressed by the root graph.

NodeInterrupt

Raised by a node to interrupt execution.

EmptyInputError

Raised when graph receives an empty input.

TaskNotFound

Raised when the executor is unable to find a task (for distributed mode).

GraphRecursionError

Bases:RecursionError

Raised when the graph has exhausted the maximum number of steps.

This prevents infinite loops. To increase the maximum number of steps,run your graph with a config specifying a higherrecursion_limit.

Troubleshooting Guides:

Examples:

graph = builder.compile()graph.invoke(    {"messages": [("user", "Hello, world!")]},    # The config is the second positional argument    {"recursion_limit": 1000},)

InvalidUpdateError

Bases:Exception

Raised when attempting to update a channel with an invalid set of updates.

Troubleshooting Guides:

GraphInterrupt

Bases:GraphBubbleUp

Raised when a subgraph is interrupted, suppressed by the root graph.Never raised directly, or surfaced to the user.

NodeInterrupt

Bases:GraphInterrupt

Raised by a node to interrupt execution.

EmptyInputError

Bases:Exception

Raised when graph receives an empty input.

TaskNotFound

Bases:Exception

Raised when the executor is unable to find a task (for distributed mode).


[8]ページ先頭

©2009-2025 Movatter.jp