Skip to content

Add response handling inside handlers #80189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions packages/next/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -693,10 +693,18 @@
"692": "Expected clientReferenceManifest to be defined.",
"693": "%s must not be used within a client component. Next.js should be preventing %s from being included in client components statically, but did not in this case.",
"694": "createPrerenderPathname was called inside a client component scope.",
"695": "Expected workUnitAsyncStorage to have a store.",
"696": "Next DevTools: Can't dispatch %s in this environment. This is a bug in Next.js",
"695": "Invariant: received non-pages cache entry in pages handler",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't expect old errors to change -- this file is meant to be additive

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reset the file to canary and just did a build so shouldn't be unexpected changes

"696": "Expected workUnitAsyncStorage to have a store.",
"697": "Next DevTools: Can't render in this environment. This is a bug in Next.js",
"698": "Next DevTools: App Dev Overlay is already mounted. This is a bug in Next.js",
"699": "Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js",
"700": "Failed to persist Chrome DevTools workspace UUID. The Chrome DevTools Workspace needs to be reconnected after the next page reload."
"698": "Next DevTools: Can't dispatch %s in this environment. This is a bug in Next.js",
"699": "Next DevTools: App Dev Overlay is already mounted. This is a bug in Next.js",
"700": "Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js",
"701": "Invariant: app-route received invalid cache entry %s",
"702": "Invariant: unexpected APP_ROUTE cache data",
"703": "Route is configured with dynamic = error which cannot be statically generated.",
"704": "Route is configured with dynamic = error be statically generated.",
"705": "Route is configured with dynamic = error that cannot be statically generated.",
"706": "Invariant: static responses cannot be streamed %s",
"707": "Invariant app-page handler received invalid cache entry %s",
"708": "Failed to persist Chrome DevTools workspace UUID. The Chrome DevTools Workspace needs to be reconnected after the next page reload."
}
Loading
Loading