ErrorCodes.h File
Canonical framework error code constants used in SessionReport::error_code and PullError::code. More...
Included Headers
#include <string_view>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | error_codes |
Description
Canonical framework error code constants used in SessionReport::error_code and PullError::code.
Error codes follow a domain.reason taxonomy: the domain identifies the failure category (misconfig, build, runtime, io, infra); the reason is a snake_case token. This lets triage tools, dashboards, and CI bucket failures by domain while keeping per-failure granularity. Use the constants in this file rather than hard-coding strings, so the codes stay consistent across the framework.
File Listing
The file content with the documentation metadata removed is:
17namespace simaai::neat::error_codes {
27inline constexpr const char* kPipelineShape = "misconfig.pipeline_shape";
32inline constexpr const char* kInputShape = "misconfig.input_shape";
36inline constexpr const char* kParseLaunch = "build.parse_launch";
38inline constexpr const char* kRuntimePull = "runtime.pull";
54inline constexpr const char* kDispatcherUnavailable = "infra.dispatcher_unavailable";
56inline constexpr const char* kDispatcherUnavailableLegacy = "DispatcherUnavailable";
59inline bool is_dispatcher_unavailable(std::string_view code) {
60 return code == kDispatcherUnavailable || code == kDispatcherUnavailableLegacy;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.