diff options
| author | Christian Hopps <chopps@labn.net> | 2024-09-17 02:27:03 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2024-09-17 03:04:59 -0400 |
| commit | 96db155acde43be7cd02d727285ed96e792e0454 (patch) | |
| tree | 279b8d1f29695af364d84fb0d56aedbafd7d83be /lib/northbound.h | |
| parent | d57a6f761e56a44b4ac8b6b47fa54592127c1bb9 (diff) | |
lib: mgmtd: cleanup error value for native messaging
- Now if positive it's libyang LY_ERR, otherwise it's `-errno` value.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/northbound.h')
| -rw-r--r-- | lib/northbound.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/northbound.h b/lib/northbound.h index da5f5be1ee..b311affa31 100644 --- a/lib/northbound.h +++ b/lib/northbound.h @@ -678,6 +678,7 @@ enum nb_error { NB_ERR, NB_ERR_NO_CHANGES, NB_ERR_NOT_FOUND, + NB_ERR_EXISTS, NB_ERR_LOCKED, NB_ERR_VALIDATION, NB_ERR_RESOURCE, |
