Error Handling
Show what failed and what the user can do next. Separate an unsent request, a pending transaction and a reverted receipt.
Common cases
Wrong network or deployment
Reconnect to the intended Pro network and configuration
Creation fee, economics or deployment version changed
Refresh the preview and rebuild within the user's accepted fee and launch limits
Insufficient balance or allowance
Check the asset and spender; confirm any approval before preparing again
Deadline expired or output below the limit
Refresh the quote and have the user review it; preserve agreed slippage limits
Curve closed
Read the lifecycle state and follow the pool-creation or recovery path
Unknown Partner ID
Correct the ID or explicitly choose no Partner
Partner frozen or wrong claim account
Refresh the Partner's status and current Recipient
Recipient or metadata updates permanently disabled
Explain that this permission cannot be restored
Wallet account or network changed
Recreate the client and prepare for the selected account and network
Decode the contract error with the matching ABI and explain the action the user can take.
Pending and failed transactions
send returns a transaction hash. Wait for a receipt with status === "success" before displaying completion. If waiting times out, resolve the existing hash or replacement before submitting again.
A revert rolls back that transaction's state changes, but the transaction can still consume network gas. A successful approval remains valid even if a later creation fails.
Successful partial trades
A closing curve buy can succeed, spend less than requested and refund the rest. Read its actual fill; do not automatically trade the refund. A successful buy can also leave the launch waiting for sweep or pool creation. See Graduation.
Creation and protection errors
Use the matching ABI to decode these errors.
PoolProtectionHashMismatch
Stop submission. Read and show the current protection policy, including its Resolver and rules data, and review the selected protection days; have the user confirm the change before rebuilding and previewing the final request. Do not silently refresh the hash.
PoolTransferRestricted
Read the Token's current restriction and protection end state. Show which listed destination is blocked and when its restriction can end; pool-list membership alone does not mean a transfer is currently restricted.
ProtocolFeeRecipientConflict
Stop creation and ask the deployment operator to correct the protocol fee recipient configuration.
InvalidProtectionDays
Use an integer from 0 to 365, in days.
MinHoldingBelowFloor
Refresh the Holder minimum and review the new holding threshold.
Last updated
Was this helpful?