/**
 * Payment error types — zync-subscription spec (Task 3).
 *
 * PaymentProviderNotConfiguredError: thrown by NullPaymentAdapter.createCheckoutSession
 * when no real payment provider is wired. Caught by the upgrade modal to show
 * "Payment provider not yet configured — contact support."
 *
 * NOTE: QuotaExceededError lives in @zync/db and is re-used by the storage
 * quota enforcer (packages/storage) — it is NOT redefined here.
 */

export class PaymentProviderNotConfiguredError extends Error {
  constructor(message = 'Payment provider not configured') {
    super(message)
    this.name = 'PaymentProviderNotConfiguredError'
  }
}
