Skip to main content

Error Codes

ClockTowerSubscribe.sol

  • 0 : Subscriber cannot be provider
  • 1 : ERC20 token already added
  • 2 : No zero address call
  • 3 : Subscription doesn't exist
  • 4 : Token address cannot be zero
  • 5 : Token not approved
  • 6 : Time already checked
  • 7 : Must have admin privileges
  • 8 : Must be provider of subscription
  • 9 : Subscriber not subscribed or already subscribed
  • 10 : Either token allowance or balance insufficient
  • 11 : Problem sending refund
  • 12 : Problem sending fees
  • 13 : Only provider can cancel subscription
  • 14 : Must be between 1 and 7
  • 15 : Must be between 1 and 28
  • 16 : Must be between 1 and 90
  • 17 : Must be between 1 and 365
  • 18 : Amount below token minimum
  • 19 : Reentrancy attempt
  • 20 : Token paused
  • 21 : Above Cancel Subscriber Limit
  • 22 : No Subscribers
  • 23 : Subscription is cancelled
  • 24 : Cant subscribe while paginating
  • 25 : Already subscribed