sysrepo
3.0.0
YANG-based system repository for all-around configuration management.
|
Functions for simplified manipulation with callback errors. More...
Go to the source code of this file.
Functions | |
int | sr_err_get_netconf_error (const sr_error_info_err_t *err, const char **error_type, const char **error_tag, const char **error_app_tag, const char **error_path, const char **error_message, const char ***error_info_elements, const char ***error_info_values, uint32_t *error_info_count) |
Get NETCONF callback error. More... | |
int | sr_err_get_netconf_error_idx (const sr_error_info_err_t *err, uint32_t idx, const char **error_type, const char **error_tag, const char **error_app_tag, const char **error_path, const char **error_message, const char ***error_info_elements, const char ***error_info_values, uint32_t *error_info_count) |
Deprecated, every NETCONF error has its own err , use sr_err_get_netconf_error(). More... | |
int | sr_session_set_netconf_error (sr_session_ctx_t *session, const char *error_type, const char *error_tag, const char *error_app_tag, const char *error_path, const char *error_message, uint32_t error_info_count,...) |
Set NETCONF callback error or add another if a NETCONF error has already been set. Specifically, sets the error message, error format, and error data encoding all the NETCONF-specific error information. More... | |
int | sr_session_set_netconf_error2 (sr_session_ctx_t *session, const char *error_type, const char *error_tag, const char *error_app_tag, const char *error_path, const char *error_message, uint32_t error_info_count, const char **error_info_elems, const char **error_info_values) |
Set NETCONF callback error or add another if a NETCONF error has already been set. More... | |
int | srplg_errinfo_set_netconf_error (sr_error_info_t **err_info, const char *error_type, const char *error_tag, const char *error_app_tag, const char *error_path, const char *error_message, uint32_t error_info_count,...) |
Set NETCONF plugin callback error or add another if a NETCONF error has already been set. More... | |
int | srplg_errinfo_set_netconf_error2 (sr_error_info_t **err_info, const char *error_type, const char *error_tag, const char *error_app_tag, const char *error_path, const char *error_message, uint32_t error_info_count, const char **error_info_elems, const char **error_info_values) |
Set NETCONF plugin callback error or add another if a NETCONF error has already been set. More... | |
Functions for simplified manipulation with callback errors.
This source code is licensed under BSD 3-Clause License (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at
https://opensource.org/licenses/BSD-3-Clause
Definition in file error_format.h.