Skip to main content

sdk.contracterrors

Home > @openformat/sdk > ContractErrors

ContractErrors enum

Signature:

export declare enum ContractErrors 

Enumeration Members

MemberValueDescription
ApprovalCallerNotOwnerNorApproved"The caller must own the token or be an approved operator"
ApprovalQueryForNonexistentToken"The token does not exist."
BalanceQueryForZeroAddress"Cannot query the balance for the zero address"
BatchMintMetadata_invalidTokenId"The Token does not exist"
Constellation_NameAlreadyUsed"Constellation name already used"
CurrencyTransferLib_insufficientValue"Transaction value is not set or too low."
ERC20Base__ApproveFromZeroAddress"Cannot approve from zero address"
ERC20Base__ApproveToZeroAddress"Cannot approve to zero address"
ERC20Base__BurnExceedsBalance"Burn amount exceeds balance"
ERC20Base__BurnFromZeroAddress"Cannot burn from zero address"
ERC20Base__InsufficientAllowance"The caller does not have enough allowance the transfer the tokens"
ERC20Base__MintToZeroAddress"Cannot mint to zero address"
ERC20Base__TransferExceedsBalance"Transfer amount exceeds balance"
ERC20Base__TransferFromZeroAddress"Cannot transfer from zero address"
ERC20Base__TransferToZeroAddress"Cannot transfer to zero address"
ERC20Base_insufficientBalance"The caller does not have enough balance to burn the tokens"
ERC20Base_notAuthorized"Signer not authorized to transfer this token"
ERC721LazyDrop_cantClaimYet"Cannot claim yet, please wait for drop to begin."
ERC721LazyDrop_exceededMaxSupply"All tokens have been claimed."
ERC721LazyDrop_quantityZeroOrExceededWalletLimit"Exceeded wallet limit."
Factory_nameAlreadyUsed"Star name already used"
MintERC2309QuantityExceedsLimit
"The quantity minted with ERC2309 exceeds the safety limit."
MintToZeroAddress"Cannot mint to the zero address"
MintZeroQuantity"The quantity of tokens minted must be more than zero"
OwnerQueryForNonexistentToken"The token does not exist"
OwnershipNotInitializedForExtraData
"The extraData cannot be set on an unintialized ownership slot."
TransferCallerNotOwnerNorApproved"The caller must own the token or be an approved operator"
TransferFromIncorrectOwner
"The token must be owned by from"
TransferToNonERC721ReceiverImplementer"Cannot safely transfer to a contract that does not implement the ERC721Receiver interface"
TransferToZeroAddress"Cannot transfer to the zero address."
URIQueryForNonexistentToken"The token does not exist"