結果 : python check if error message contains string