2 * Library-specific error messages.
3 * Copyright (C) 2018 Cumulus Networks, Inc.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __LIB_ERRORS_H__
22 #define __LIB_ERRORS_H__
31 EC_LIB_PRIVILEGES
= LIB_FERR_START
,
34 EC_LIB_ZAPI_MISSMATCH
,
48 EC_LIB_RMAP_RECURSION_LIMIT
,
51 EC_LIB_YANG_MODULE_LOAD
,
52 EC_LIB_YANG_MODULE_LOADED_ALREADY
,
53 EC_LIB_YANG_DATA_CONVERT
,
54 EC_LIB_YANG_DATA_TRUNCATED
,
55 EC_LIB_YANG_UNKNOWN_DATA_PATH
,
56 EC_LIB_YANG_DNODE_NOT_FOUND
,
57 EC_LIB_YANG_TRANSLATOR_LOAD
,
58 EC_LIB_YANG_TRANSLATION_ERROR
,
60 EC_LIB_NB_CB_UNNEEDED
,
62 EC_LIB_NB_CB_INVALID_PRIO
,
63 EC_LIB_NB_CBS_VALIDATION
,
64 EC_LIB_NB_CB_CONFIG_VALIDATE
,
65 EC_LIB_NB_CB_CONFIG_PREPARE
,
66 EC_LIB_NB_CB_CONFIG_ABORT
,
67 EC_LIB_NB_CB_CONFIG_APPLY
,
70 EC_LIB_NB_CANDIDATE_INVALID
,
71 EC_LIB_NB_CANDIDATE_EDIT_ERROR
,
72 EC_LIB_NB_OPERATIONAL_DATA
,
73 EC_LIB_NB_TRANSACTION_CREATION_FAILED
,
74 EC_LIB_NB_TRANSACTION_RECORD_FAILED
,
76 EC_LIB_LIBYANG_PLUGIN_LOAD
,
78 EC_LIB_CONFD_DATA_CONVERT
,
81 EC_LIB_SYSREPO_DATA_CONVERT
,
83 EC_LIB_ID_CONSISTENCY
,
87 extern void lib_error_init(void);