export function ErrorBoundary({ error }: { error: Error }) {
        return (
          <div>
            <h1>Error</h1>
            <p>{error.message}</p>
            <p>The stack trace is:</p>
            <pre>{error.stack}</pre>
          </div>
        );
      }

      Typescript language logo
      your recipe card header background
      Error Boundary

      Remix TypeScript public recipes

      Handles error boundary for remix. Show information about an error that occurred.

      Shortcut: remix.error_boundary

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.