YtPotion. Error
(yt_potion v1.0.0)
Copy Markdown
Error struct returned by any yt_potion call that can fail at runtime.
:type distinguishes three failure categories:
:http_error— the HTTP request itself failed or returned a non-2xx status.:statusand:bodyare populated when available.:api_error— the request succeeded at the HTTP level but the YouTube API returned an"error"payload.:config_error— yt_potion is not configured (missing API key).