Reduce scope of err_string; add missing error codes

toml-checker
Peter Meerwald-Stadler 3 years ago
parent 8ebf69da7e
commit 19101cd726

@ -14,8 +14,9 @@ Status::Code Status::code() const noexcept { return ec_; }
} // namespace error } // namespace error
} // namespace cmkr } // namespace cmkr
const char *err_string[] = { // strings for cmkr::error::Status::Code
"Success", "Runtime error", "Initialization error", "CMake generation error", "Build error", static const char *err_string[] = {
"Success", "Runtime error", "Initialization error", "CMake generation error", "Build error", "Clean error", "Install error",
}; };
const char *cmkr_error_status(int i) { const char *cmkr_error_status(int i) {

Loading…
Cancel
Save