Deliveroo interview question

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