結果 : how to check exception type python