Skip to content

Commit

Permalink
Add VM error code
Browse files Browse the repository at this point in the history
Add VM error code `FAILED_TO_DESERIALIZE_ARGUMENT`
  • Loading branch information
sausagee authored Nov 6, 2024
1 parent d5145ba commit b15f7a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/nextra/pages/en/build/smart-contracts/error-codes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b15f7a5

Please sign in to comment.