file Utils/standalone_error_handlers.hpp
[No description available] More…
Namespaces
Name |
---|
Gambit TODO: see if we can use this one: |
Gambit::Printers Forward declaration. |
Gambit::IniParser |
Detailed Description
Author: Pat Scott (patscott@physics.mcgill.ca)
Date: 2014 Mar
Exception objects required for standalone compilation.
Authors (add name and date if you modify):
Source code
// GAMBIT: Global and Modular BSM Inference Tool
// *********************************************
/// \file
///
/// Exception objects required for standalone
/// compilation.
///
/// *********************************************
///
/// Authors (add name and date if you modify):
///
/// \author Pat Scott
/// (patscott@physics.mcgill.ca)
/// \date 2014 Mar
///
/// *********************************************
#ifndef __standalone_error_handlers_hpp__
#define __standalone_error_handlers_hpp__
#include "gambit/Utils/util_macros.hpp"
#include "gambit/Utils/exceptions.hpp"
namespace Gambit
{
/// Utility errors
EXPORT_SYMBOLS error& utils_error();
/// Utility warnings
EXPORT_SYMBOLS warning& utils_warning();
/// Backend errors
error& backend_error();
/// Backend warnings
warning& backend_warning();
/// Logging errors
error& logging_error();
/// Logging warnings
warning& logging_warning();
/// Model errors
error& model_error();
/// Model warnings
warning& model_warning();
/// Invalid point exceptions
invalid_point_exception& invalid_point();
namespace Printers
{
/// Printer errors
EXPORT_SYMBOLS error& printer_error();
/// Printer warnings
EXPORT_SYMBOLS warning& printer_warning();
}
namespace IniParser
{
/// IniFile errors
error& inifile_error();
/// IniFile warnings
warning& inifile_warning();
}
}
#endif //#ifndef __standalone_error_handlers_hpp__
Updated on 2024-07-18 at 13:53:32 +0000