|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstraction Layer (OAL) services. More...
Go to the source code of this file.
Enumerations | |
| enum | rte_status_t { RTE_STATUS_OK = 0 , RTE_STATUS_INVALID_PARAM = 1 , RTE_STATUS_NOT_INITIALIZED = 2 , RTE_STATUS_ALREADY_INITIALIZED = 3 , RTE_STATUS_TIMEOUT = 4 , RTE_STATUS_RESOURCE_EXHAUSTED = 5 , RTE_STATUS_NOT_SUPPORTED = 6 , RTE_STATUS_NOT_IMPLEMENTED = 7 , RTE_STATUS_HARDWARE_FAULT = 8 , RTE_STATUS_DATA_CORRUPTION = 9 , RTE_STATUS_INTERNAL_ERROR = 10 , RTE_STATUS_VALUE_OUT_OF_RANGE = 11 , RTE_STATUS_INVALID_STATE = 12 , RTE_STATUS_NOT_CONNECTED = 13 } |
| Common result/status codes. More... | |
Functions | |
| const char * | rte_status_to_string (rte_status_t status) |
| Returns a short, static, human-readable string for a status code. Intended for diagnostics/logging only; never on a safety-decision path. | |
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstraction Layer (OAL) services.
REQ-OAL-COMMON-001: every fallible API function shall return rte_status_t and shall not use exceptions or errno-style side channels.
Definition in file rte_status.h.