In the spirit of @dustyrockpyle, I inherit from std::logic_error
but I use that class’s string constructor, rather than overriding what()
class NotImplemented : public std::logic_error
{
public:
NotImplemented() : std::logic_error("Function not yet implemented") { };
};