Function ErrorMessages::Fatal

Function Documentation

void ErrorMessages::Fatal(std::string routine, std::string message)

Logs a fatal internal error and exits the program.

Writes a message to both the error log file and STDERR, then exits the program.

Parameters:
  • routine – The name of the routine where the error occurred.

  • message – Description of the error.