Domanda di colloquio di Deliveroo

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