gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
ini_catch.cpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
20 
21 #include <iostream>
22 
24 
25 namespace Gambit
26 {
27 
29  void ini_catch(std::exception& e)
30  {
31  std::cout << "GAMBIT has failed to initialise due to a fatal exception: " << e.what() << std::endl;
32  throw(e);
33  }
34 
35 }
Micro function useful from all sorts of other initialisation codes.
void ini_catch(std::exception &)
Catch initialisation exceptions.
Definition: ini_catch.cpp:29
TODO: see if we can use this one:
Definition: Analysis.hpp:33