gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
error_handlers.cpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
16 
18 #include "gambit/Logs/log_tags.hpp"
19 
20 namespace Gambit
21 {
22  using namespace LogTags;
23 
26  {
27  static error local("The Core has encountered a problem.","core_error", core);
28  return local;
29  }
30 
33  {
34  static warning local("The Core has encountered a problem.","core_warning", core);
35  return local;
36  }
37 
38  namespace DRes
39  {
40 
43  {
44  static error local("A problem has been raised by the dependency resolver subsystem.","dependency_resolver_error", dependency_resolver);
45  return local;
46  }
47 
50  {
51  static warning local("A problem has been raised by the dependency resolver subsystem.","dependency_resolver_warning", dependency_resolver);
52  return local;
53  }
54 
55  }
56 
57 }
Exception object declarations.
warning & dependency_resolver_warning()
Dependency resolver warnings.
error & core_error()
Core errors.
GAMBIT warning class.
Definition: exceptions.hpp:165
Headeer for logging classes.
GAMBIT error class.
Definition: exceptions.hpp:136
warning & core_warning()
Core warnings.
TODO: see if we can use this one:
Definition: Analysis.hpp:33
error & dependency_resolver_error()
Dependency resolver errors.