結果 : python detect exception type