Preparing search index...

    Function buildCrashDescription

    • Builds the pre-filled description for an automatic crash report.

      The full error (with its stack) is already written to the log files by the error boundary, which are attached to the report; this description gives the developer an immediate summary without opening the logs.

      Parameters

      • error: Error

        The error caught by the boundary

      • componentStack: string | null

        React component stack from componentDidCatch, if available

      Returns string

      Formatted crash description