@mica/sdk (SDK contract v1)
    Preparing search index...

    Type Alias MusicErrorReason

    MusicErrorReason: "embed-blocked" | "unavailable" | "unplayable"

    The three kinds the player's own codes actually distinguish. No finer taxonomy than they support — inventing one would be putting words in the player's mouth about a failure it described in a number.

    • embed-blocked — the uploader disabled playback outside YouTube (101, 150). This is the common one, and it covers a large fraction of the actual music on YouTube.
    • unavailable — there is no such video to play: removed, private, or never there (100).
    • unplayable — rejected for a reason the player did not narrow further (2, 5, and anything new).