열거형 ComErrc [SWS_CM_10432] Upstream: RS_AP_00130, RS_AP_00122, RS_AP_00127
enum class ComErrc : ara::core::ErrorDomain::CodeType {...};
Defines the error codes for the ara::com::ComErrorDomain
| Header-Datei | #include "ara/com/com_error_domain.h" |
|---|---|
| Forwarding-Header | #include "ara/com/com_fwd.h" |
| Scope | namespace ara::com |
| Symbol | ComErrc |
| Basistyp | ara::core::ErrorDomain::CodeType |
Werte
| Enumerator | Beschreibung |
|---|---|
| kServiceNotAvailable | =1 Service is not available after being previously offered via Offer |
| Service() | |
| kMaxSamplesExceeded | =2 Application holds more ara::com::SamplePtrs than commited in Subscribe() Samples were possibly skipped. |
| kCommunicationFailure | =3 The network binding reported a recoverable communications error or a secure communication failure |
| kFieldValueNotInitialized | =6 Field value has yet not been initialized via Update() (see [SWS_CM_00128] |
| kFieldSetHandlerNotSet | =7 Field SetHandler has not been registered via RegisterSet Handler() |
| kServiceNotOffered | = 11 Service has not yet been offered via OfferService() |
| kInstanceIDNotResolvable | = 15 The ara::core::InstanceSpecifier is valid but could not be resolved/mapped to an existing ara::com:: InstanceIdentifier |
| kMaxSampleCountNotRealizable | = 16 Provided maxSampleCount for event re-subscription does not match the maxSampleCount for the current subscription |
| kUnknownApplicationError | = 22 A remote service returned an unconfigured application error. |
| kMinimumSendIntervalViolationError | = 23 Minimum Send Interval violation, because a transmission request for a service instance element (event, field or method call) was issued faster than allowed, i.e., the configured minimum send interval ServiceInterfaceDeploymentElement. minimumSendInterval for the service instance element has not yet expired. |
열거형 ComErrc은(는) [SWS_CM_10432]에 따라 EXP ARAComAPI §2 “Recoverable Errors”에 따른 복구 가능한 오류(Recoverable Errors)에 대한 ara::com::ComErrorDomain의 표준화된 오류 코드를 정의합니다. 이는 클라이언트 또는 서버 컨텍스트에서 기능적 오류 원인을 정확하게 알리기 위해 통신 관리의 동기 및 비동기 API의 ara::core::Result 또는 ara::core::Future와(과) 같은 반환 타입으로 전달됩니다.
열거자들은 서비스 수명 주기 및 데이터 전송 전반에 걸친 특정 오류 사례를 다룹니다:
- 서비스 수명 주기 및 바인딩:
kServiceNotOffered은(는) 서비스가 아직OfferService()을(를) 통해 제공되지 않았음을 나타내며([SWS_CM_00101]),kServiceNotAvailable은(는) 중간에 손실되었음을 알립니다.kInstanceIDNotResolvable은(는)InstanceSpecifier을(를) 확인할 수 없을 때 발생합니다([SWS_CM_00118]). - 이벤트 및 샘플 구독:
kMaxSamplesExceeded은(는) 약정된SamplePtr할당량 초과에 대해 경고하고,kMaxSampleCountNotRealizable은(는) [SWS_CM_00141]을(를) 통한 재등록 시 부적절한 값을 보고합니다. - 필드 및 전송:
kFieldValueNotInitialized은(는)Update()이전의 초기화 누락을 나타내고([SWS_CM_00119]),kFieldSetHandlerNotSet은(는) 세터 핸들러 누락을 나타냅니다. [SWS_CM_00721]을(를) 통한 트리거 전송 시와 같은 로컬 네트워크 문제는kCommunicationFailure(으)로 이어집니다([SWS_CM_10517]). 또한kMinimumSendIntervalViolationError은(는) 클록 속도 위반을 처벌하고kUnknownApplicationError은(는) 예기치 않은 서버 오류를 처리합니다([SWS_CM_10432]).
순수 열거형 타입인 ComErrc은(는) 자체 상태를 갖지 않으므로, 오류 값에 대한 읽기 및 비교 작업은 호출 스레드에서 동시성에 안전할 것으로 보입니다. 질문 Q-013822ee5711df2b (열림) 실제 오류 확인은 각 결과 객체를 평가한 후 애플리케이션의 몫입니다.
이 텍스트는 AI에 의해 작성되고 큐레이션되었습니다.
구현자 가이드 준비 중 (복잡도 I3)
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CM_10432- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CM_10432@rel:R25-11#f858db5b- Content hash
f858db5b- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10432
Status: valid/unmigrated
Version: rel:R25-11#a1bb25ac
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_CM_10432@rel:R25-11#a1bb25ac
Recorded Revisions (8):
- R25-11
rel:R25-11#0540727f2026-09-30 - R19-11
rel:R19-11#e85687322026-10-14 - R20-11
rel:R20-11#d76a076f2026-10-14 - R21-11
rel:R21-11#bba466f32026-10-14 - R22-11
rel:R22-11#defb05652026-10-14 - R23-11
rel:R23-11#6109561d2026-10-14 - R24-11
rel:R24-11#75455b1d2026-10-14 - R25-11
rel:R25-11#a1bb25ac2026-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 · 독일어 원문