Exhaustive list of possible error codes
ToolError
interface looks like the following:
NO_POSSIBLE_ROUTE
: No route was found for this action.
INSUFFICIENT_LIQUIDITY
: The tool’s liquidity is insufficient.
TOOL_TIMEOUT
: The third-party tool timed out.
UNKNOWN_ERROR
: An unknown error occurred.
RPC_ERROR
: There was a problem getting on-chain data. Please try again later.
AMOUNT_TOO_LOW
:The initial amount is too low to transfer using this tool.
AMOUNT_TOO_HIGH
: The initial amount is too high to transfer using this tool.
FEES_HGHER_THAN_AMOUNT
: The fees are higher than the initial amount — this would result in negative resulting token.
DIFFERENT_RECIPIENT_NOT_SUPPORTED
: This tool does not support different recipient addresses.
TOOL_SPECIFIC_ERROR
: The third-party tool returned an error.
CANNOT_GUARANTEE_MIN_AMOUNT
: The tool cannot guarantee that the minimum amount will be met.