NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::graph::CancelledException Class Reference

Thrown by the engine when a run is cancelled mid-flight via CancelToken::cancel(). More...

#include <cancel.h>

Inherits std::runtime_error.

Detailed Description

Thrown by the engine when a run is cancelled mid-flight via CancelToken::cancel().

Surfaces at the run_async / run_stream_async awaitable's completion, and through the pybind binding's asyncio.Future as a RuntimeError("run cancelled") (which the asyncio task wrapper generally consumes silently after the upstream Future.cancel() already transitioned the future to CANCELLED).

Definition at line 61 of file cancel.h.


The documentation for this class was generated from the following file: