MENU
global-error.js
The special file global-error.js serves as the top-most error boundary for the entire application, potentially catching errors from the root layout or template.
It is important to include the <html> and <body> tags when implementing the GlobalError component.