From aaf721774f61d5c1838fc7a7505e71c5807284cd Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Wed, 26 Jun 2024 17:01:57 +0100 Subject: [PATCH] chore: fix links --- apps/docs/src/guide/errors/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/docs/src/guide/errors/index.md b/apps/docs/src/guide/errors/index.md index 97fe9484db0..d9a03af90b7 100644 --- a/apps/docs/src/guide/errors/index.md +++ b/apps/docs/src/guide/errors/index.md @@ -20,9 +20,9 @@ Check that the arguments supplied to the function, match the required type. ### `ACCOUNT_REQUIRED` -When an [`Account`](../api/Account/Account.md) is required for an operation. This will usually be in the form of a [`Wallet`](./wallets/index.md). +When an [`Account`](../../api/Account/Account.md) is required for an operation. This will usually be in the form of a [`Wallet`](../wallets/index.md). -It could be caused during the deployments of contracts when an account is required to sign the transaction. This can be resolved by following the deployment guide [here](./contracts/deploying-contracts.md). +It could be caused during the deployments of contracts when an account is required to sign the transaction. This can be resolved by following the deployment guide [here](../contracts/deploying-contracts.md). ### `CONVERTING_FAILED` @@ -82,7 +82,7 @@ Ensure the configurable constants provided are correct and are defined in ABI. When an expected component is not found in the ABI or is malformed. -Ensure that you have correctly formed Sway types for [Arrays](./types/arrays.md) and [Vectors](./types/vectors.md). +Ensure that you have correctly formed Sway types for [Arrays](../types/arrays.md) and [Vectors](../types/vectors.md). ### `INVALID_CREDENTIALS` @@ -106,7 +106,7 @@ Ensure that the entropy is between 16 and 32 bytes and a multiple of 4. When the provided EVM address is invalid. -Ensure that the [EVM address](./types/evm-address.md) is valid. +Ensure that the [EVM address](../types/evm-address.md) is valid. ### `INVALID_INPUT_PARAMETERS` @@ -184,7 +184,7 @@ Check the status received is within `TransactionStatus`. When the transaction type from the Fuel Node is _not_ valid. -The type is within [`TransactionType`](../api/Account/TransactionType.md). +The type is within [`TransactionType`](../../api/Account/TransactionType.md). ### `INVALID_TTL` @@ -202,7 +202,7 @@ The word list provided to the mnemonic length should be equal to 2048. When an ABI type does not conform to the correct format. -It is usually caused by an incorrect type/s within your program, check our type [docs](./types/index.md) here for information on the types we support and their expected format. +It is usually caused by an incorrect type/s within your program, check our type [docs](../types/index.md) here for information on the types we support and their expected format. ### `LOG_TYPE_NOT_FOUND` @@ -220,7 +220,7 @@ Ensure that a connector has been supplied to the `Account` or `Wallet`. A provider is missing when it's required for a given operation. -It could be caused by the provider not being set for either an [`Account`](../api/Account/index.md) or a [`Wallet`](./wallets/index.md) - use the `connect` method to attach a provider. +It could be caused by the provider not being set for either an [`Account`](../../api/Account/index.md) or a [`Wallet`](../wallets/index.md) - use the `connect` method to attach a provider. ### `MISSING_REQUIRED_PARAMETER` @@ -244,7 +244,7 @@ Check that the type ID is correct and exists in the ABI. When an unexpected type has been detected - the error message will determine which type is incorrect. -Check the type against your ABI and ensure that it is correct. You can find a list of all our types [here](./types/index.md). +Check the type against your ABI and ensure that it is correct. You can find a list of all our types [here](../types/index.md). ### `UNSUPPORTED_FUEL_CLIENT_VERSION`