LangEx.NodeTimeoutError exception (LangEx v0.11.3)

Copy Markdown View Source

Raised when a node attempt exceeds its timeout.

Timeouts come from the per-node :timeout option on LangEx.Graph.add_node/4 or the graph-wide :node_timeout invoke option. The error is raised per attempt, so a node retry policy can retry timed-out attempts (filter with retryable?: to opt out).

Summary

Types

t()

@type t() :: %LangEx.NodeTimeoutError{
  __exception__: true,
  node: atom(),
  timeout_ms: pos_integer()
}