I am using google Test framework for my project. I am throwing exception from the code as:
throw DerivedClassException("message");
and in the test frame using as:
ASSERT_THROW(commond(), DerivedClassException);
I want to get message with what()
API.
Any way to get exact exception message of the exception.