Creative Analyzer - v0.0.1
    Preparing search index...

    Function friendlyDriveMessage

    • Translate a DriveError to one user-safe English sentence.

      Decision matrix:

      • 400 → "not a Drive URL"
      • 413 → "over the 100 MB limit"
      • message contains "not be public" / "after confirm" → "set sharing to Anyone with the link"
      • message contains "empty body" → "Drive returned empty response"
      • default → "could not download from Drive, try again"

      Parameters

      Returns string

      A user-safe message string.