# NodeTimeoutError

> **Class** in `@langchain/langgraph`

📖 [View in docs](https://reference.langchain.com/javascript/langchain-langgraph/index/NodeTimeoutError)

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.

## Signature

```javascript
class NodeTimeoutError
```

## Extends

- `BaseLangGraphError`

## Constructors

- [`constructor()`](https://reference.langchain.com/javascript/langchain-langgraph/index/NodeTimeoutError/constructor)

## Properties

- `cause`
- `elapsed`
- `idleTimeout`
- `kind`
- `lc_error_code`
- `message`
- `name`
- `node`
- `runTimeout`
- `stack`
- `timeout`
- `stackTraceLimit`
- `unminifiable_name`

## Methods

- [`captureStackTrace()`](https://reference.langchain.com/javascript/langchain-langgraph/index/NodeTimeoutError/captureStackTrace)
- [`prepareStackTrace()`](https://reference.langchain.com/javascript/langchain-langgraph/index/NodeTimeoutError/prepareStackTrace)

---

[View source on GitHub](https://github.com/langchain-ai/langgraphjs/blob/b689df0c41d70d758ba72477a96de6afd23789cd/libs/langgraph-core/src/errors.ts#L244)