Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.
useRouteError
Returns the nearest ancestor Route error, which could be a loader/action
error or a render error. This is intended to be called from your
errorElement to display a proper error message.