結果 : typescript catch specific error type