paxos/src/config/parse.cc

13 lines
250 B
C++
Raw Permalink Normal View History

2020-05-05 12:11:54 +00:00
#include "parse.hh"
namespace paxos
{
void error_and_exit(int code, const std::string& error)
{
/* Display 'error' on stderr and exit with 'code' */
std::cerr << error << "\n";
exit(code);
}
2020-05-06 16:51:50 +00:00
} // namespace paxos