結果 : how to get exception type python