"use client"; /* The route-level error boundary. Something threw while rendering a page; the shell survives, so this keeps the site's own chrome and offers the thing that actually helps — try again. The error's message is deliberately not printed: it is written by the server, can carry internal detail, and means nothing to a linen services manager. The digest is shown because it is the one string that lets a report be matched to a log line — on this facility's own server, by whoever looks after it. */ import Link from "next/link"; import { useEffect } from "react"; import { reportError } from "@/lib/errors"; export default function Error({ error, reset }: { error: Error & { digest?: string }; reset: () => void }) { useEffect(() => { reportError(error, "route"); }, [error]); return (
The fault is the software’s, not yours, and nothing you were doing has been lost — ThreadCount only changes a record when you commit it. Try again, and if it keeps happening, tell whoever looks after this server and give them the reference below.
Reference {error.digest} — quote this and it can be found in the server log.
) : null}