LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
  • Stream
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
โŒ˜I

Chat LangChain

What can I help with?

Enter to sendยทShift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemoteStream
LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraphindexNodeTimeoutError
Classโ—Since v1.4

NodeTimeoutError

Copy
class NodeTimeoutError

Bases

BaseLangGraphError

Constructors

Properties

Methods

Inherited fromBaseLangGraphError

Properties

PcausePlc_error_code: stringPmessagePname: stringP
View source on GitHub
stack
PstackTraceLimit

Methods

McaptureStackTraceMprepareStackTrace
constructor
constructorโ†’ NodeTimeoutError
property
cause: unknown
property
elapsed: number
property
idleTimeout: number
property
kind: "run" | "idle"
property
lc_error_code: string
property
message: string
property
name: string
property
node: string
property
runTimeout: number
property
stack: string
property
timeout: number
property
stackTraceLimit: number
property
unminifiable_name: string
method
captureStackTrace
method
prepareStackTrace

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

Does not extend GraphBubbleUp (so it flows through the normal node error path) and is intentionally treated as retryable by the default retry policy โ€” its message/name do not match the default retryOn blocklist, so a configured RetryPolicy will retry it (see langchain-ai/langgraph#7659).

Both NodeTimeoutError.runTimeout and NodeTimeoutError.idleTimeout reflect the configured policy at the time of the failure (each undefined if not configured). NodeTimeoutError.kind and NodeTimeoutError.timeout identify which one fired.

Elapsed time (ms) since the attempt started, at the moment the timeout fired.

Configured idle timeout (ms), if any.

Which timeout fired: a hard "run" cap or a progress-resetting "idle" cap.

Name of the node/task that timed out.

Configured run timeout (ms), if any.

The value (ms) of the timeout that fired (runTimeout or idleTimeout).