---
order: 8
title:
  zh-CN: Blazor 错误处理
  en-US: ErrorBoundary
---

## zh-CN

利用 .NET 6 提供的 `ErrorBoundary` 进行友好的 [Blazor 错误处理](https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/handle-errors?view=aspnetcore-6.0&WT.mc_id=DT-MVP-5003987) 包裹组件。

## en-US

Using the `ErrorBoundary` provided by .NET 6 for making error handling easier in [Blazor](https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/handle-errors?view=aspnetcore-6.0&WT.mc_id=DT-MVP-5003987).

