videosphere
    Preparing search index...
    • Builds an Error from a failed yt-dlp child process, preferring a friendly message when known.

      Parameters

      • label: string

        Human-readable process label for fallback errors.

      • code: number

        Process exit code, if available.

      • stderrChunks: Buffer<ArrayBufferLike>[]

        Captured stderr output chunks.

      Returns Error

      Error suitable for API responses and UI display.