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

The durable record native_state().failure answers: the code, the operation it happened in, an optional event ordinal and discriminator, and the allocation-free context. More...

#include <native_host.hpp>

Data Fields

NativeFailureCode code = NativeFailureCode::None
 
NativeFailureOperation operation = NativeFailureOperation::None
 
std::uint64_t ordinal = 0
 
std::uint32_t discriminator = 0
 
NativeFailureContext context {}
 

Detailed Description

The durable record native_state().failure answers: the code, the operation it happened in, an optional event ordinal and discriminator, and the allocation-free context.

last_error() is presentation text beside it and is never the authority. Copy and move do not allocate.

Definition at line 237 of file native_host.hpp.

Field Documentation

◆ code

NativeFailureCode pineforge::engine_script_run_v18::NativeFailure::code = NativeFailureCode::None

Definition at line 238 of file native_host.hpp.

◆ operation

NativeFailureOperation pineforge::engine_script_run_v18::NativeFailure::operation = NativeFailureOperation::None

Definition at line 239 of file native_host.hpp.

◆ ordinal

std::uint64_t pineforge::engine_script_run_v18::NativeFailure::ordinal = 0

Definition at line 240 of file native_host.hpp.

◆ discriminator

std::uint32_t pineforge::engine_script_run_v18::NativeFailure::discriminator = 0

Definition at line 241 of file native_host.hpp.

◆ context

NativeFailureContext pineforge::engine_script_run_v18::NativeFailure::context {}

Definition at line 242 of file native_host.hpp.


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