InsufficientGasError
Documentation for eth_defi.gmx.gas_monitor.InsufficientGasError exception.
- exception InsufficientGasError
Bases:
ExceptionRaised when gas balance is critically low and raise_on_critical is True.
Initialise with message and gas check result.
- Parameters
message – Error message
gas_check – The gas check result that triggered the error
- __init__(message, gas_check)
Initialise with message and gas check result.
- Parameters
message (str) – Error message
gas_check (eth_defi.gmx.gas_monitor.GasCheckResult) – The gas check result that triggered the error
- __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.