{String(error)}
// Error boundary scoped to the portal subtree. A render error (or a loader // rejection that ISN'T a RedirectError / NotFoundError) bubbles here. import type { ReactNode } from 'react' import type { ErrorBoundaryProps } from '@voltro/web' import { T } from '@voltro/i18n' export default function PortalError({ error, reset }: ErrorBoundaryProps): ReactNode { return (
{String(error)}