PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
run_failure_codes.hpp
Go to the documentation of this file.
1// Generated by scripts/check_run_failure_codes.py --write-registry from
2// run_failure_codes.json. Do not edit: edit the catalog and
3// regenerate.
4
5#pragma once
6
7#include <cstdint>
8
9namespace pineforge {
10
11// The closed run-failure vocabulary (run_failure_codes.json),
12// in stable numeric order. `none` is no failure. The numbers are not on any
13// wire: the C getters answer with the names.
14enum class RunFailureCode : std::uint16_t {
15 none = 0,
95};
96
97inline constexpr std::uint16_t kRunFailureCodeCount = 80;
98
99} // namespace pineforge
constexpr std::uint16_t kRunFailureCodeCount