hello.
I am using gcc on linux to compile C++ code. There are some exceptions which should not be handled and should close program. However, I would like to be able to display exception string:
For example:
throw std::runtime_error(" message");
does not display message, only type of error.
I would like to display messages as well.
Is there way to do it?
it is a library, I really do not want to put catch statements and let library user decide. However, right now library user is fortran, which does not allow to handle exceptions. in principle, I can put handlers in wrapper code, but rather not to if there is a way around
Thanks