結果 : python get error type from exception