Reference
Error codes
Shared across the user and interface contracts.
| Code | Name | Meaning |
|---|---|---|
| u101 | ERR_NOT_ALLOWED_USER_CONTRACT | Contract hash is not an approved user contract in decast-feed. |
| u102 | ERR_NOT_FOUND | A required value or config is missing. |
| u103 | ERR_UNAUTHORIZED | Caller isn't allowed (e.g. self-boost, non-deployer admin call). |
| u105 | ERR_INVALID_REFERAL_PERCENT | App referral percent above 20 (interface contract). |
| u106 | ERR_OWNER_ONLY | Only the user contract owner, calling directly. |
| u107 | ERR_NOT_TOKEN_OWNER | You don't own this post NFT. |
| u108 | ERR_INVALID_INTERFACE_FEE | App fee above your max, or referral above 20%. |
| u109 | ERR_YIELD_BELOW_MINIMUM | 100 sats or less available to withdraw. |
| u110 | ERR_INSUFFICIENT_BALANCE | Not enough unlocked STX. |
| u111 | ERR_CYCLE_GUARD | Can't unstake until the guarded reward cycle. |
| u112 | ERR_INVALID_AMOUNT_TO_STACK | Must be 0 in prepare phase, above 0 otherwise. |
| u113 | ERR_INVALID_SIGNER | Signer is not the approved signer manager. |
| u114 | ERR_INVALID_LIMIT | Page limit out of range. |
| u115 | ERR_ALREADY_FOLLOWED | Target already lists you as a follower. |
| u116 | ERR_ALREADY_FOLLOWING | You already follow this user. |
| u117 | ERR_NOT_FOLLOWING | You don't follow this user. |
| u118 | ERR_CANT_FOLLOW_SELF | You can't follow yourself. |
| u119 | ERR_INVALID_AMOUNT_OR_ID | Boost amount or token id must be above 0. |
| u120 | ERR_MARKET | Listing changed, missing, or above your max price. |
| u121 | ERR_INVALID_AMOUNT | Price must be above 0. |
| u122 | ERR_ASSET_NOT_PROVIDED | Token or NFT transfer failed. |
