boost::log::conversion_error — Exception class that is used to indicate conversion errors.
// In header: <boost/log/exceptions.hpp> class conversion_error : public runtime_error { public: // construct/copy/destruct conversion_error(); explicit conversion_error(std::string const &); ~conversion_error(); };