@playlive/tiltify-core
    Preparing search index...

    Function normalizeEnvelopeError

    • Normalizes the error field of a Tiltify response envelope into a structured TiltifyError. Handles:

      • already-structured { message, status, fields } objects
      • bare string errors ("Not Found")
      • proxy-style "HTTP 404" / "HTTP 502: bad gateway" strings, where the status is extracted from the message so wrappers can branch on it.

      Parameters

      Returns TiltifyError