Skip to content

Commit

Permalink
add error examples
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Oct 30, 2024
1 parent a57e6f6 commit d6eece7
Showing 1 changed file with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,11 @@ Komodo DeFi Framework is a true cross chain, cross protocol Decentralized Exchan
"result": "success"
}
```

</CollapsibleSection>


#### Response (Error, `mm2` is not set)
#### Error responses

If mm2 is not set in either the command or your `coins` file, you will see the following error:

Expand All @@ -230,7 +233,23 @@ Komodo DeFi Framework is a true cross chain, cross protocol Decentralized Exchan
"error": "lp_coins:943] lp_coins:693] mm2 param is not set neither in coins config nor enable request, assuming that coin is not supported"
}
```
</CollapsibleSection>

If min_connected is < 1, you will see the following error:

```json
{
"error":"rpc:184] dispatcher_legacy:141] lp_commands_legacy:141] lp_coins:4462] utxo_standard:73] utxo_coin_builder:616] Internal error: manager:129] min_connected should be greater than 0"
}
```

If max_connected is < min_connected, you will see the following error:

```json
{
"error": "rpc:184] dispatcher_legacy:141] lp_commands_legacy:141] lp_coins:4462] utxo_standard:73] utxo_coin_builder:616] Internal error: manager:132] min_connected (2) must be <= max_connected (1)"
}
```


## Enable Method

Expand Down

0 comments on commit d6eece7

Please sign in to comment.