SwapError

Documentation for eth_defi.uniswap_v2.token_tax.SwapError exception.

exception SwapError

Bases: Exception

The swap method reverted due to low liquidity of either the base or quote token

__init__(*args, **kwargs)
__new__(**kwargs)
add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.