結果 : python how to get exception type