Debian Codegraph @

apt-pkg-c/error.cc

raw symbols SCIP
1 #include "rust-apt/apt-pkg-c/error.h"
2 #include <apt-pkg/error.h>
3
4 #include "types.h"
5
6 Vec<AptError> get_all() noexcept {
7 Vec<AptError> list;
8
9 while (!_error->empty()) {
10 std::string msg;
11 bool type = _error->PopMessage(msg);
12 list.push_back(AptError{type, msg});
13 }
14 return list;
15 }