PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v18::NativeFailureContext Struct Reference

The three in-run facts a failure may carry, tagged by kind. More...

#include <native_host.hpp>

Data Fields

NativeFailureContextKind kind = NativeFailureContextKind::None
 
NativeInRunCause cause {}
 
NativeInRunRecipient recipient {}
 
NativeInRunCursor cursor {}
 

Detailed Description

The three in-run facts a failure may carry, tagged by kind.

Copy and move are allocation-free — this is what a failed host reports from inside a callback — and the predicates below say which alternatives are populated rather than asking a caller to decode the bit-union itself.

Definition at line 132 of file native_host.hpp.

Field Documentation

◆ kind

NativeFailureContextKind pineforge::engine_script_run_v18::NativeFailureContext::kind = NativeFailureContextKind::None

Definition at line 133 of file native_host.hpp.

◆ cause

NativeInRunCause pineforge::engine_script_run_v18::NativeFailureContext::cause {}

Definition at line 134 of file native_host.hpp.

◆ recipient

NativeInRunRecipient pineforge::engine_script_run_v18::NativeFailureContext::recipient {}

Definition at line 135 of file native_host.hpp.

◆ cursor

NativeInRunCursor pineforge::engine_script_run_v18::NativeFailureContext::cursor {}

Definition at line 136 of file native_host.hpp.


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