結果 : python check for exception type