gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
terminator.cpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
13 //
18 
20 
22 {
23  std::cout << std::endl << "Gambit has encountered an uncaught error during initialisation." << std::endl;
24  std::cout << std::endl << "Check the output logs for details." << std::endl;
25  std::cout << std::endl << "(Check your yaml file if you can't recall where the logs are.)" << std::endl << std::endl;
26 
27  std::exception_ptr eptr = std::current_exception();
28  try
29  {
30  std::rethrow_exception(eptr);
31  }
32  catch (const std::exception &e)
33  {
34  std::cout << "what(): " << e.what() << std::endl;
35  }
36  catch (...)
37  {
38  std::cout << "Exception not derived from std::exception." << std::endl;
39  }
40  exit(1);
41 }
42 
void terminator()
Definition: terminator.cpp:21
Garbage collection of last resort.