Open rbu9fe opened 5 months ago
As the title says currently validateAll does not check for any errors potentially returned by lyd_validate_all.
validateAll
lyd_validate_all
Shouldn't it be changed to throw on error just like the other wrappers do it?
auto ret = lyd_validate_all(node ? &node->m_node : nullptr, nullptr, opts ? utils::toValidationOptions(*opts) : 0, nullptr); throwIfError(ret, "libyang::validateAll:");
As the title says currently
validateAll
does not check for any errors potentially returned bylyd_validate_all
.Shouldn't it be changed to throw on error just like the other wrappers do it?