TransactionReverted
Documentation for eth_defi.revert_reason.TransactionReverted exception.
- exception TransactionReverted
Bases:
ExceptionPython exception to signal a transaction error with a good revert reason.
See
eth_defi.middleware.revert_reason_middleware().- __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.