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

    Interface UseRouterPushOptions

    interface UseRouterPushOptions {
        onError?: (
            error: unknown,
            to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric,
        ) => void | Promise<void>;
    }
    Index
    onError?: (
        error: unknown,
        to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric,
    ) => void | Promise<void>

    Called when router.push(to) throws. All three source copies (luv-autoq-frontend, ama-deep, data-sheet-portal) hardcoded this to console.group-logging the error and falling back to that app's own 404/error route (luv-autoq-frontend's also called Sentry.captureException) - replaced here with a callback so each app wires its own logging/fallback-navigation/error-reporting instead of this package assuming a specific route registry or Sentry setup.