paraswap-sdk
paraswap-sdk copied to clipboard
[docs] add possible error codes & docs on what they mean
Started integrating paraswap into our application & want to ahndle errors properly. Would be great if the docs would contain a list of possible error codes & a short explanation on what they mean.
Till now i only faced:
ESTIMATED_LOSS_GREATER_THAN_MAX_IMPACT
, but I'd assume there are more.
nothing...
Is there an update on this one or would you explain that error a bit more in detail please.
Hello, we documented all the errors in our OpenAPI specification right here : https://app.swaggerhub.com/apis/paraswapv5/api/1.0#/TransactionsErrorMessage (accessible from the docs https://developers.paraswap.network/ then go to > Try OpenAPI specification).
Maybe I'm missing something but I only see an array of non-explanining messages:
![Screenshot 2021-12-27 at 11 28 50](https://user-images.githubusercontent.com/930136/147463009-7a4754a0-3ab4-455c-953a-c1fc9b17e52e.png)
E.g. can you point me specifically to the documentation of the aformentioned ESTIMATED_LOSS_GREATER_THAN_MAX_IMPACT
error?
Any updates?