pydantic_graph.exceptions
Bases: TypeError
Error caused by an incorrectly configured graph.
Description of the mistake.
Type: str Default: message
Bases: ValueError
An error raised during graph-building.
The error message.
Type: str Default: message
Bases: ValueError
An error raised during graph validation.
The error message.
Type: str Default: message
Bases: RuntimeError
Error caused by an issue during graph execution.
The error message.
Type: str Default: message
Bases: RuntimeError
Error caused by calling a synchronous method on an event loop that cannot be driven by the caller.
Synchronous methods run their asynchronous implementation using loop.run_until_complete(), which not every
event loop implements. Temporal’s workflow event loop is one that doesn’t: it can only be driven by Temporal.
Pydantic AI’s synchronous methods report this as a pydantic_ai.exceptions.UserError instead.
The error message.
Type: str Default: message