0.0.0-alpha1 • Published 5 years ago

@0xcert/web3-error-parser v0.0.0-alpha1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago
ErrorDescription
ZERO_ADDRESSOne of the addresses provided was a zero (0x0) address.
INVALID_NFTProvided NFT is invalid (id does not exist).
NOT_AUTHORIZEDIndicates that a user is not authorized for the action(not approved for transfer/does not have a certain ability etc.).
RECEIVER_DOES_NOT_SUPPORT_NFTSmart contract to which you are transfering NFT does not implement a way to safely receive a NFT.
NFT_ALREADY_EXISTSA NFT with the same ID already exists. You cannot create multiple NFTs with the same ID.
INVALID_INDEXNFT at provided index does not exist.
TRANSFERS_PAUSEDNFT transfers are paused.
COIN_TRANSFER_FAILEDCoin transfer within the exchange order failed.
INVALID_SIGNATURE_KINDProvided signature kind is not supported.
INVALID_PROXYProvided proxy is not supported.
YOU_ARE_NOT_THE_TAKERYou are trying to perform an order from an account that cannot perform it. Check order takerId field to see which address has the ability to perform this order.
SENDER_NOT_TAKER_OR_MAKERYou are trying to transfer assets that you are not allowed.
ORDER_EXPIREDOrder has expired (check expiration field).
INVALID_SIGNATUREThe signature provided is invalid.
ORDER_CANCELEDOrder has been canceled.
ORDER_CANNOT_BE_PERFORMED_TWICEOrder was already performed and cannot be performed twice.
YOU_ARE_NOT_THE_MAKERUser making the transaction is not he order maker. Check the makerId field.
SIGNER_NOT_AUTHORIZEDSignature provided was signed by an unauthorized user.
ONE_ZERO_ABILITY_HAS_TO_EXISTThere always has to be at least on user with the ability to assign new abilities.
GENERAL_REVERTTransaction reverted from an unknown reason.
TRANSATION_RESPONSE_ERROR_CHECK_PENDING_TRANSACTIONSWhile executing the transaction there was an error with the response. The transaction may or may not have executed sucessfully. Please recheck transaction status and pending transactions.
INVALID_ADDRESSUser/smart contract address provided is invalid.
UNHANDLEDAn unhandled error has occured.