boost::log::unexpected_call — Exception class that is used to indicate invalid call sequence.
// In header: <boost/log/exceptions.hpp> class unexpected_call : public logic_error { public: // construct/copy/destruct unexpected_call(); explicit unexpected_call(std::string const &); ~unexpected_call(); };