Can't use std::exception because it dynamically allocates memory. This implementation doesn't allocate memory, but also doesn't allow leaving an exception message.
Can't use std::exception because it dynamically allocates memory. This implementation doesn't allocate memory, but also doesn't allow leaving an exception message.