Is there a way that QTP test script restart automatically if some error/exception occurs. When I say errors i mean any error related to QTP or application itseld under test e.g. QTP run time errors, type mismatch, app under test exceptions.

I am using UFT 12 on windows 7.