結果 : python determine exception type