export function ErrorBoundary(error) {
return (
<div>
<h1>Error</h1>
<p>{error.message}</p>
<p>The stack trace is:</p>
<pre>{error.stack}</pre>
</div>
);
}
Error Boundary
Handles error boundary for remix. Show information about an error that occurred.
Library: remix
Shortcut: remix.error_boundary
0 Comments
Add Comment
Log in to add a comment