|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI 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 {} |
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.
| NativeFailureCode pineforge::engine_script_run_v18::NativeFailure::code = NativeFailureCode::None |
Definition at line 238 of file native_host.hpp.
| NativeFailureOperation pineforge::engine_script_run_v18::NativeFailure::operation = NativeFailureOperation::None |
Definition at line 239 of file native_host.hpp.
| std::uint64_t pineforge::engine_script_run_v18::NativeFailure::ordinal = 0 |
Definition at line 240 of file native_host.hpp.
| std::uint32_t pineforge::engine_script_run_v18::NativeFailure::discriminator = 0 |
Definition at line 241 of file native_host.hpp.
| NativeFailureContext pineforge::engine_script_run_v18::NativeFailure::context {} |
Definition at line 242 of file native_host.hpp.