coldbydefault-portfolio
    Preparing search index...

    Variable CHATBOT_ERROR_TRANSLATION_KEYSConst

    CHATBOT_ERROR_TRANSLATION_KEYS: Record<
        ChatBotErrorCode
        | "NETWORK"
        | "UNKNOWN",
        string,
    > = ...

    Maps the bare error codes the API returns onto ChatBot translation keys. The API never sends prose, so every failure the user sees is localised.