Function ExitWithError

Function Documentation

void ExitWithError(const std::string &msg, const int err_code = EXIT_FAILURE)

Exits the entire program after printing the associated message

Parameters
  • msg: Error message to be printed