LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Graphs
    • Functional API
    • Pregel
    • Checkpointing
    • Storage
    • Caching
    • Types
    • Runtime
    • Config
    • Errors
    • Constants
    • Channels
    • Agents
    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonlanggrapherrorsNodeTimeoutError
    Classā—Since v1.1

    NodeTimeoutError

    Copy
    NodeTimeoutError(
      self,
      node: str,
      elapsed: float,
      *,
      kind: Literal[

    Bases

    Exception

    Constructors

    Attributes

    View source on GitHub
    'idle'
    ,
    'run'
    ]
    ,
    idle_timeout
    :
    float
    |
    None
    =
    None
    ,
    run_timeout
    :
    float
    |
    None
    =
    None
    )
    constructor
    __init__
    NameType
    nodestr
    elapsedfloat
    kindLiteral['idle', 'run']
    idle_timeoutfloat | None
    run_timeoutfloat | None
    attribute
    node: str
    attribute
    timeout: float
    attribute
    run_timeout: float | None
    attribute
    idle_timeout: float | None
    attribute
    elapsed: float
    attribute
    kind: Literal['idle', 'run']

    Raised when a node invocation exceeds one of its configured timeouts.

    Does not inherit from the built-in TimeoutError (a subclass of OSError) so that the default RetryPolicy treats it as retryable.

    Both idle_timeout and run_timeout reflect the configured policy at the time of the failure (each is None if not configured). kind and timeout identify which one fired.

    Advertisement
    Advertisement