9 #include "boost/exception/exception.hpp" 10 #include "boost/exception/diagnostic_information.hpp" 12 #include "boost/property_tree/exceptions.hpp" 13 #include "boost/filesystem.hpp" 29 const char *
red =
"\x1B[31m" ;
33 template <
int FUNC(
int,
char **)>
40 }
catch (
const boost::property_tree::ptree_bad_data &
e) {
42 }
catch (
const boost::property_tree::ptree_bad_path &
e) {
44 }
catch (
const boost::property_tree::ptree_error &
e) {
46 }
catch (
const boost::filesystem::filesystem_error &
e) {
48 }
catch (
const std::logic_error &
e) {
int exceptions(int argc, char *argv[])
std::string colorify(std::string s)
const char * what() const override
ConfigError(const char *m)