@pouchy_ai/companion-sdk - v0.1.0
    Preparing search index...

    Variable COMPANION_ERROR_CODESConst

    COMPANION_ERROR_CODES: readonly [
        "missing_token",
        "invalid_token",
        "missing_scope",
        "invalid_request",
        "session_not_found",
        "turn_pending",
        "no_pending_tools",
        "unknown_call",
        "payload_too_large",
        "rate_limited",
        "forbidden",
        "unavailable",
        "confirm_not_found",
        "confirm_resolved",
        "step_up_required",
        "step_up_failed",
    ] = ...

    HTTP error code vocabulary — what CompanionError.code can hold. A self-contained mirror of the server's api-error.ts list (drift-tested); APPEND-ONLY: renaming or removing a code is a breaking SDK change. Consumers can switch on these instead of string-matching error prose.