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.
Called when
router.go(to)throws. Both source copies (ama-deep,data-sheet-portal) hardcoded this toconsole.group-logging the error and redirecting to that app's ownROUTE.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.