Commit history for src/lib/upsell.ts
- Keep QuotaExceededError out of HttpError and convert it to 402 at request boundaries, only name the account and billing link to people who manage it, strip internal ids, and make notices de-duplicated, still-blocked, batched and two-factor-first.707c7e1⌁taigrr committed
- Return 402 Payment Required with the meter, reason and billing link whenever a plan, credit or spending limit blocks an action; open an app-wide upsell with that meter's pricing, Pro and credit packs; and add a reusable NagBanner for maxed-out plans and missing two-factor.8ed57a4⌁taigrr committed