Skip to main content

ly_err_print

Function ly_err_print 

Source
pub unsafe extern "C" fn ly_err_print(
    ctx: *const ly_ctx,
    eitem: *const ly_err_item,
    lnode: *const lyd_node,
    snode: *const lysc_node,
)
Expand description

@brief Print the error structure as if just generated.

@param[in] ctx Optional context to store the message in. @param[in] eitem Error item structure to print. @param[in] lnode Optional data node to log. @param[in] snode Optional schema node to log/append to @p lnode.