enumeration NmErrc [SWS_ANM_01111]
enum class NmErrc : ara::core::ErrorDomain::CodeType { kServiceNotAvailable = 1, kInvalidHandler = 2 };| Header | ara/nm/nm_error_domain.h |
|---|---|
| Upstream-Anforderung | RS_AP_00122, RS_AP_00125, RS_AP_00127, RS_AP_00149 |
Standardisierte Network-Management-Fehlercodes.
The enumeration [SWS_ANM_01111] defines the standardized error codes of Network Management (NM) in header ara/nm/nm_error_domain.h. It is also provided via the type alias Errc [SWS_ANM_01103] and, together with the thread-safe factory function MakeErrorCode [SWS_ANM_01110], serves to encapsulate error states in ara::core::Result return values.
The defined error values address specific error cases at the NM interface:
kServiceNotAvailable(value 1): Occurs during synchronous queries and requests of the network state when the underlying NM service is unavailable. This applies to reading the effective network state viaGetNetworkState[SWS_ANM_01007], querying the requested state viaGetNetworkRequestedState[SWS_ANM_01008], and requesting or releasing networks viaSetNetworkRequestedState[SWS_ANM_01009].kInvalidHandler(value 2): Reported by registration functions for notification handlers, namelyRegisterNetworkStateChangeNotifier[SWS_ANM_01010], [SWS_ANM_01015], andRegisterNetworkRequestedStateChangeNotifier[SWS_ANM_01012], [SWS_ANM_01014]. Since a maximum of one notifier may be registered per interface, this error is likely to occur if an empty callback is passed or a registration already exists (interpretation). Question Q-59365b2b5b2e664c (open)
Regarding concurrency, it should be noted that read-only operations on the network state are thread-safe, whereas SetNetworkRequestedState and all notifier registrations are explicitly specified as not thread-safe. Callers must therefore externally synchronize concurrent accesses to registrations and request changes in order to avoid invalid call states.
This text was created and curated by an AI.
Implementer's Guide to follow (complexity I1)
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_ANM_01111- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_ANM_01111@rel:R25-11#3bd1d10b- Content hash
3bd1d10b- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_NetworkManagement.pdf#nameddest=SWS_ANM_01111
Status: valid/unmigrated
Version: rel:R25-11#31e88722
Versionshistorie & Revisions (1 transition, 4 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_ANM_01111@rel:R25-11#31e88722
Recorded Revisions (4):
- R25-11
rel:R25-11#3bd1d10b2026-09-30 - R23-11
rel:R23-11#b1db0f132026-10-14 - R24-11
rel:R24-11#74d33b0b2026-10-14 - R25-11
rel:R25-11#31e887222026-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 · German original