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()

Exception.add_note(note) – add a note to the exception

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.