枚举 ExecErrc [SWS_EM_02281] Upstream: RS_AP_00130, RS_AP_00122, RS_AP_00127, RS_AP_00154, RS_AP_00125, RS_AP_00142, RS_AP_00129, RS_AP_00149
enum class ExecErrc : ara::core::ErrorDomain::CodeType {...};
Defines an enumeration class for the Execution Management error codes.
| Header-Datei | #include "ara/exec/exec_error_domain.h" |
|---|---|
| Forwarding-Header | #include "ara/exec/exec_fwd.h" |
| Scope | namespace ara::exec |
| Symbol | ExecErrc |
| Basistyp | ara::core::ErrorDomain::CodeType |
Werte
| Enumerator | Beschreibung |
|---|---|
| kNoCommunication | =3 Communication error occurred, e.g. request cannot be send or result cannot be retrieved |
| kInvalidMetaModelIdentifier | =4 Wrong meta model identifier passed to a function |
| kOperationCanceled | =5 Transition to the requested Function Group state was canceled by a newer request |
| kOperationFailed | =6 Requested operation could not be performed, e.g. Function Group state transition cannot be finished because kRunning was not reported on time |
| kInvalidTransition | =9 Invalid transition (e.g. Process attempted to report kRunning, when it was already in a Running Process State) |
| kIntegrityOrAuthenticityCheckFailed | = 14 Integrity or authenticity check for a Process to be spawned in the requested Function Group state failed |
| kUnexpectedTermination | = 15 Abnormal Termination during a Function Group State transition occurred |
| kInvalidArgument | = 16 Passed argument doesn’t appear to be valid. |
枚举 ExecErrc [SWS_EM_02281] 基于基础类型 ara::core::ErrorDomain::CodeType 在命名空间 ara::exec 中为 Execution Management 定义错误码。它与 MakeErrorCode [SWS_EM_02291] 一起用于封装在 ara::core::ErrorCode 中,并通过 ara::core::Result 同步或使用 ara::core::Future 异步传递给调用者。
这些枚举项涵盖不同的错误状态 [SWS_EM_02281]:
kNoCommunication表示发送请求或检索结果时的通信错误 [SWS_EM_02281]。如果这发生在 Execution Management 与 State Management 之间,系统可能会进入不可恢复状态(Unrecoverable State)[SWS_EM_02281]。诸如ExecutionClient或StateClient等客户端仅在下一次方法调用时才会注意到这一点,此时客户端恢复选项有限 [SWS_EM_02281]。kOperationCanceled和kOperationFailed在功能组状态转换时发生 [SWS_EM_02281],例如在SetState[SWS_EM_02278] 处,或者当机器启动转换被中止时 [SWS_EM_02279]。kInvalidTransition指示不允许的进程转换,例如当进程重复报告kRunning时 [SWS_EM_02281],与ReportExecutionState[SWS_EM_02003] 相关。kIntegrityOrAuthenticityCheckFailed、kUnexpectedTermination、kInvalidMetaModelIdentifier以及kInvalidArgument处理完整性检查中的错误、功能组状态转换期间异常的进程中止,或无效的函数参数 [SWS_EM_02281]。
调用者对这些错误码进行评估,以确定状态转换是成功完成、被后续请求取代,还是因配置错误而被阻塞 [SWS_EM_02281]。
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
实现者指南即将推出(复杂度 I1)
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_EM_02281- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_EM_02281@rel:R25-11#91f2bc76- Content hash
91f2bc76- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02281
Status: valid/unmigrated
Version: rel:R25-11#402d3486
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_EM_02281@rel:R25-11#402d3486
Recorded Revisions (8):
- R25-11
rel:R25-11#24bf4c2a2026-09-30 - R19-11
rel:R19-11#e465fc4b2026-10-14 - R20-11
rel:R20-11#e55946a82026-10-14 - R21-11
rel:R21-11#dfccc8ea2026-10-14 - R22-11
rel:R22-11#b421a5762026-10-14 - R23-11
rel:R23-11#11de95902026-10-14 - R24-11
rel:R24-11#f58eddc22026-10-14 - R25-11
rel:R25-11#402d34862026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 德文原文