Frage im Vorstellungsgespräch bei Deliveroo

Why does std::exception take a char* rather than std::string argument