When I'm testing my C++ class with Boost.Test and my custom exceptions are thrown (they are instances of my class), this is the message I see in log:
unknown location:0: fatal error in "testMethod": unknown type
It's very un-informative and I don't know how to teach Boost.Test to convert my exception to string and display it properly. My Exception
class has operator string()
, but it doesn't help. Any ideas? Thanks!