libyang's codes of validation error. Whenever ly_errno is set to LY_EVALID, the ly_vecode is also set to the appropriate LY_VECODE value.
Enumerator |
---|
LYVE_SUCCESS | no error
|
LYVE_XML_MISS | missing XML object
|
LYVE_XML_INVAL | invalid XML object
|
LYVE_XML_INCHAR | invalid XML character
|
LYVE_EOF | unexpected end of input data
|
LYVE_INSTMT | invalid statement (schema)
|
LYVE_INPAR | invalid (in)direct parent (schema)
|
LYVE_INID | invalid identifier (schema)
|
LYVE_INDATE | invalid date format
|
LYVE_INARG | invalid value of a statement argument (schema)
|
LYVE_MISSSTMT | missing required statement (schema)
|
LYVE_MISSARG | missing required statement argument (schema)
|
LYVE_TOOMANY | too many instances of some object
|
LYVE_DUPID | duplicated identifier (schema)
|
LYVE_DUPLEAFLIST | multiple instances of leaf-list
|
LYVE_DUPLIST | multiple instances of list
|
LYVE_NOUNIQ | unique leaves match on 2 list instances (data)
|
LYVE_ENUM_INVAL | invalid enum value (schema)
|
LYVE_ENUM_INNAME | invalid enum name (schema)
|
LYVE_ENUM_WS | enum name with leading/trailing whitespaces (schema)
|
LYVE_BITS_INVAL | invalid bits value (schema)
|
LYVE_BITS_INNAME | invalid bits name (schema)
|
LYVE_INMOD | invalid module name
|
LYVE_KEY_NLEAF | list key is not a leaf (schema)
|
LYVE_KEY_TYPE | invalid list key type (schema)
|
LYVE_KEY_CONFIG | key config value differs from the list config value
|
LYVE_KEY_MISS | list key not found (schema)
|
LYVE_KEY_DUP | duplicated key identifier (schema)
|
LYVE_INREGEX | invalid regular expression (schema)
|
LYVE_INRESOLV | no resolvents found (schema)
|
LYVE_INSTATUS | invalid derivation because of status (schema)
|
LYVE_CIRC_LEAFREFS | circular chain of leafrefs detected (schema)
|
LYVE_CIRC_FEATURES | circular chain of features detected (schema)
|
LYVE_CIRC_IMPORTS | circular chain of imports detected (schema)
|
LYVE_CIRC_INCLUDES | circular chain of includes detected (schema)
|
LYVE_INVER | non-matching YANG versions of module and its submodules (schema)
|
LYVE_SUBMODULE | submodule given instead of a module
|
LYVE_OBSDATA | obsolete data instantiation (data)
|
LYVE_NORESOLV | no resolvents found for an expression (data)
|
LYVE_INELEM | invalid element (data)
|
LYVE_MISSELEM | missing required element (data)
|
LYVE_INVAL | invalid value of an element (data)
|
LYVE_INMETA | invalid metadata (attribute) value (data)
|
LYVE_INATTR | invalid attribute in an element (data)
|
LYVE_MISSATTR | missing attribute in an element (data)
|
LYVE_NOCONSTR | value out of range/length/pattern (data)
|
LYVE_INCHAR | unexpected characters (data)
|
LYVE_INPRED | predicate resolution fail (data)
|
LYVE_MCASEDATA | data for more cases of a choice (data)
|
LYVE_NOMUST | unsatisfied must condition (data)
|
LYVE_NOWHEN | unsatisfied when condition (data)
|
LYVE_INORDER | invalid order of elements (data)
|
LYVE_INWHEN | irresolvable when condition (data)
|
LYVE_NOMIN | min-elements constraint not honored (data)
|
LYVE_NOMAX | max-elements constraint not honored (data)
|
LYVE_NOREQINS | required instance does not exits (data)
|
LYVE_NOLEAFREF | leaf pointed to by leafref does not exist (data)
|
LYVE_NOMANDCHOICE | no mandatory choice case branch exists (data)
|
LYVE_XPATH_INTOK | unexpected XPath token
|
LYVE_XPATH_EOF | unexpected end of an XPath expression
|
LYVE_XPATH_INOP | invalid XPath operation operands
|
LYVE_XPATH_INCTX | invalid XPath context type
|
LYVE_XPATH_INMOD | invalid module name
|
LYVE_XPATH_INFUNC | invalid XPath function name
|
LYVE_XPATH_INARGCOUNT | invalid number of arguments for an XPath function
|
LYVE_XPATH_INARGTYPE | invalid type of arguments for an XPath function
|
LYVE_XPATH_DUMMY | invalid use of the XPath dummy node
|
LYVE_XPATH_NOEND | unterminated string
|
LYVE_PATH_INCHAR | invalid characters (path)
|
LYVE_PATH_INMOD | invalid module name (path)
|
LYVE_PATH_MISSMOD | missing module name (path)
|
LYVE_PATH_INNODE | invalid node name (path)
|
LYVE_PATH_INKEY | invalid key name (path)
|
LYVE_PATH_MISSKEY | missing some list keys (path)
|
LYVE_PATH_INIDENTREF | missing module name prefix in identityref predicate value (path)
|
LYVE_PATH_EXISTS | target node already exists (path)
|
LYVE_PATH_MISSPAR | some parent of the target node is missing (path)
|
LYVE_PATH_PREDTOOMANY | too many predicates specified (path)
|