namespace boost { class bad_switch : public std::runtime_error {}; }
Header
#include <boost/switch.hpp>
Thrown when the default case is executed and no default was provided.