|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
The node failure classifier's verdict on any failure (see classify_failure). More...
#include <types.h>
Public Attributes | |
| std::string | code |
| "NG.TaskFailed", "NG.HookBlocked", "NG.Cancelled", an author code, ... | |
| std::string | public_message |
| Text from typed safe sources only (NodeFailureError::public_message). | |
| bool | retryable = false |
| Sending the same request again may succeed: retryable_by_class, unless the node's retry loop already used up the node's attempts on it (NodeFailureKind::Exhausted). | |
| bool | retryable_by_class = false |
| The failure's class and hints allow a retry, whether or not attempts were left: NodeFailure::retryable, and also NG.ProviderFailed, which the node retry loop leaves to the provider runtime. | |
| std::exception_ptr | signal |
| For the run control classes, the signal itself as found in the cause chain: the HookBoundaryBlocked, the NodeInterrupt or the CancelledException (null for an aborted asio operation of a cancelled run). | |
The node failure classifier's verdict on any failure (see classify_failure).
| bool neograph::graph::FailureVerdict::retryable = false |
Sending the same request again may succeed: retryable_by_class, unless the node's retry loop already used up the node's attempts on it (NodeFailureKind::Exhausted).
A node the loop stopped retrying for the run's deadline or retry ceiling keeps it, as a new run has a new budget. Protocol hosts put it on the wire (#500).
| bool neograph::graph::FailureVerdict::retryable_by_class = false |
The failure's class and hints allow a retry, whether or not attempts were left: NodeFailure::retryable, and also NG.ProviderFailed, which the node retry loop leaves to the provider runtime.
Protocol hosts put it on the wire next to retryable, for callers that retry outside the engine.
| std::exception_ptr neograph::graph::FailureVerdict::signal |
For the run control classes, the signal itself as found in the cause chain: the HookBoundaryBlocked, the NodeInterrupt or the CancelledException (null for an aborted asio operation of a cancelled run).
Null for every other class.