code: def __get_exception_message(self):
          
          exception_info = sys.exc_info()[1]
          if hasattr(exception_info, 'msg'):
              exc_message = exception_info.msg
          elif hasattr(exception_info, 'message'):
              exc_message = exception_info.message
          else:
              exc_message = '(Unknown Exception)'
          return exc_message
docs: This method extracts the message from an exception if there
              was an exception that occurred during the test, assuming
              that the exception was in a try/except block and not thrown.