pydantic_graph.exceptions
GraphSetupError
Bases: TypeError
Error caused by an incorrectly configured graph.
Source code in pydantic_graph/pydantic_graph/exceptions.py
7 8 9 10 11 12 13 14 15 |
|
GraphRuntimeError
Bases: RuntimeError
Error caused by an issue during graph execution.
Source code in pydantic_graph/pydantic_graph/exceptions.py
18 19 20 21 22 23 24 25 26 |
|
GraphNodeStatusError
Bases: GraphRuntimeError
Error caused by trying to run a node that already has status 'running'
, 'success'
, or 'error'
.
Source code in pydantic_graph/pydantic_graph/exceptions.py
29 30 31 32 33 34 35 36 37 38 39 40 |
|
check
classmethod
check(status: SnapshotStatus) -> None
Check if the status is valid.
Source code in pydantic_graph/pydantic_graph/exceptions.py
36 37 38 39 40 |
|