commit | c58e4aaeb87c205b52e6fe494b23ca92c6f158b2 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Apr 03 18:37:32 2019 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Apr 10 17:01:54 2019 +0200 |
tree | 7ced7817174ec3a139985429c456460468547082 | |
parent | c649c5bd14bcac9c852f410c894d40a88e503481 [diff] [blame] |
Add sysrepo error handling Change-Id: I810de1afd0ad6161a18903f816e19db28ed9edf1
diff --git a/src/sysrepo_access.hpp b/src/sysrepo_access.hpp index 76e9088..97d229e 100644 --- a/src/sysrepo_access.hpp +++ b/src/sysrepo_access.hpp
@@ -43,6 +43,8 @@ std::shared_ptr<Schema> schema(); private: + [[noreturn]] void reportErrors(); + std::shared_ptr<sysrepo::Connection> m_connection; std::shared_ptr<sysrepo::Session> m_session; std::shared_ptr<YangSchema> m_schema;