[YANGTOOLS-1360] Define a yang.common version of NetconfError Created: 29/Oct/21  Updated: 18/Jan/24

Status: Confirmed
Project: yangtools
Component/s: data-api
Affects Version/s: None
Fix Version/s: 14.0.0, 13.0.2

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We currently define YangNetconfError in yang-data-api, but we do not have a yang.common version of this contract.
This limits our ability to tie errors together and define a solid RpcError contract, which still lives in yang.common.

Define a baseline NetconfError interface, which provides the required concept, such that it can be specialized by yang-data-api and possibly by mdsal-binding-api.

The baseline needs to be flexible enough to accommodate both the NETCONF (RFC6241) and RESTCONF (RFC8040) definition of this construct.

The most critical part is error-info, which should map to an AnyDataNode in yang-data-api, with appropriate immutable implementations provided by yang-data-impl.


Generated at Wed Feb 07 20:55:56 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.