From b15f7a56f00f3815749bb036aea1bbf2a1d71ac1 Mon Sep 17 00:00:00 2001 From: Young Yang Liauw <7528420+sausagee@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:21:08 -0800 Subject: [PATCH] Add VM error code Add VM error code `FAILED_TO_DESERIALIZE_ARGUMENT` --- apps/nextra/pages/en/build/smart-contracts/error-codes.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/nextra/pages/en/build/smart-contracts/error-codes.mdx b/apps/nextra/pages/en/build/smart-contracts/error-codes.mdx index f91c00d67..3d9e0f132 100644 --- a/apps/nextra/pages/en/build/smart-contracts/error-codes.mdx +++ b/apps/nextra/pages/en/build/smart-contracts/error-codes.mdx @@ -107,6 +107,7 @@ sequence number and try again. | RESOURCE_ALREADY_EXISTS | We tried to create a resource under an account where that resource already exists. | Check the contract and possibly change it to handle resources that already exist | | UNKNOWN_STATUS | A reserved status to represent an unknown vm status. This is std::u64::MAX, but we can't pattern match on that, so put the hardcoded value in. | N/A | | LINKER_ERROR | This may be due to the function has not been published on chain or by trying to call an invalid function as the result of either an incorrect account address, module name, or function name. This might not happen locally if the sources are available locally but have yet to be published on-chain. | There are many reasons, but you should check your account addresses, module names, and function names to determine that they're correct and published | +| FAILED_TO_DESERIALIZE_ARGUMENT | The is due to exceeding the limit on the number of nested or unpacked structs (including in a vector). The limit is currently 10. | N/A | ## Move Standard Library (stdlib)