clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
208 stars 70 forks source link

Customized NETCONF error message #454

Closed olofhagsand closed 7 months ago

olofhagsand commented 12 months ago

Client errors, in particular CLI, are displayed using functions: clixon_netconf_error_fn() / netconf_err2cb() which translate NETCONF error messages into a more readable form. However, there is a need to make the error messages more meaningful for an end-user by providing an ability to customize the error messages. This could be done by some callback mechanism so that the original NETCONF error message could be annotated with application-specific information or context.

olofhagsand commented 10 months ago

NETCONF error message customized. However more error message customization may be needed and was not covered by this issue.