@polargold/pg-frontend-vue
    Preparing search index...

    Interface UseRouterGoOptions

    interface UseRouterGoOptions {
        onError?: (error: unknown, to: number) => void | Promise<void>;
    }
    Index
    onError?: (error: unknown, to: number) => void | Promise<void>

    Called when router.go(to) throws. Both source copies (ama-deep, data-sheet-portal) hardcoded this to console.group-logging the error and redirecting to that app's own ROUTE.PUBLIC_ERROR_PAGE - replaced here with a callback so each app wires its own logging/ redirect instead of this package assuming a specific route registry.