結果 : python check if exception message contains string