Skip to content

Commit 400b42a

Browse files
committed
reference RFC in doxygen
1 parent d275270 commit 400b42a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plugins_types/union.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ lyb_parse_union(const void *lyb_data, size_t lyb_data_len, uint32_t *type_idx, c
153153
/**
154154
* @brief For leafref failures, ensure the appropriate error is propagated, not a type validation failure.
155155
*
156+
* RFC7950 Section 15.5 defines the appropriate error app tag of "require-instance".
157+
*
156158
* @param[in,out] err Error record to be updated
157159
* @param[in] type leafref type used to extract target path
158160
* @param[in] value value attempting to be stored

0 commit comments

Comments
 (0)