export function isUpgradeError(error: any): boolean {
  const status = error?.status;
  return status === 402 || status === 403;
}

export function showUpgradeToast(toast: any) {
  if (!toast?.error) return;
  toast.error('Upgrade required to continue. Please select a plan in Plans & Billing.');
}

