This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
"use client"
|
||||
|
||||
// What a person sees when a page throws (spec §10.4). The strings come from the root layout's
|
||||
// `BoundaryMessages`, in the person's language; the error is reported to observability from here
|
||||
// because React swallows what a boundary catches (src/ui/boundary.tsx).
|
||||
|
||||
import { ErrorView } from "../src/ui/boundary"
|
||||
|
||||
export default function ErrorPage({ error, retry }: { error: Error & { digest?: string }; retry: () => void }) {
|
||||
return <ErrorView error={error} retry={retry} />
|
||||
}
|
||||
Reference in New Issue
Block a user