mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Enables AI agents to programmatically access the runtime/build errors from the current devtool overlay of a dev session. The errors are pretty-printed by default with source-mapped stack frames. In particular, it supports pulling error information from multiple browser tabs.
4 lines
89 B
TypeScript
4 lines
89 B
TypeScript
export default function RuntimeErrorPage() {
|
|
throw new Error('Test runtime error 2')
|
|
}
|