your recipe card header background

    Error Boundary

    0

    0

    Jose Romero

    Remix JavaScript public recipes

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

    Library: remix

    Shortcut: remix.error_boundary

    export function ErrorBoundary(error) {
      return (
        <div>
          <h1>Error</h1>
          <p>{error.message}</p>
          <p>The stack trace is:</p>
          <pre>{error.stack}</pre>
        </div>
      );
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.