C++11 introduces the new header system_error for low level errors. It is possible to write your own error categories.
This might be good starting point for writing your own error handling in modern C++.
7
solved c++ std::exception … may I have more please? [closed]