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

    Interface AddonErrorAnswer

    A refusal the player should read. A handler answers it instead of a result, and micaOS shows message (trimmed, at most ADDON_ERROR_MESSAGE_MAX characters) as the toast. Any other failure — a throw, a rejection, a timeout, an answer that is not JSON — reaches the player as micaOS's generic failure, and only the server log says why.

    interface AddonErrorAnswer {
        error: { message: string };
    }
    Index
    error: { message: string }