InitializationFunctions.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <exception>
7 
8 #include "Parallel/Abort.hpp"
9 
10 inline void setup_error_handling() {
11  std::set_terminate([]() {
13  "Terminate was called, calling Charm++'s abort function to properly "
14  "terminate execution.");
15  });
16 }
void abort(const std::string &message)
Abort the program with an error message.
Definition: Abort.hpp:17
Defines function Parallel::abort.