Improve error handling

The errors now bubble up all the way to the command error handler. This
means, that there is less redundant code, since we only print the
error message in one location. Also, we can now differentiate between more
error types, because more error handlers are defined.

Change-Id: I1407eafbd99d79a76dd6a181a23448d58110d6cd
2 files changed
tree: e55771c6a9bb226abcb30f778aca34f05d6a66be
  1. .clang-format
  2. .gitmodules
  3. CMakeLists.txt
  4. Doxyfile.in
  5. LICENSE
  6. README.md
  7. ci/
  8. cmake/
  9. docs/
  10. src/
  11. submodules/
  12. tests/
README.md

Console interface to NETCONF servers

Credits

Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.