|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
Exception thrown from inside a node to trigger a dynamic breakpoint. More...
#include <types.h>
Inherits std::runtime_error.
Public Member Functions | |
| NodeInterrupt (const std::string &reason) | |
| Construct a NodeInterrupt with a reason message. | |
| const std::string & | reason () const |
| Get the interrupt reason. | |
Exception thrown from inside a node to trigger a dynamic breakpoint.
When a node throws NodeInterrupt, the graph engine saves a checkpoint and pauses execution, allowing Human-in-the-Loop (HITL) intervention. Execution can be resumed with GraphEngine::resume().
|
inlineexplicit |
Construct a NodeInterrupt with a reason message.
| reason | Human-readable explanation of why the interrupt was triggered. |
|
inline |