invalid_argument

class invalid_argument : public logic_error {
public:
    invalid_argument(const string& what_arg);
    };

The class serves as the base class for all exceptions thrown to report an invalid argument. The value returned by what() is what_arg.data().