InsufficientGasError

Documentation for eth_defi.gmx.gas_monitor.InsufficientGasError exception.

exception InsufficientGasError

Bases: ccxt.base.errors.InsufficientFunds

Raised when gas balance is critically low.

Inherits from CCXT’s InsufficientFunds so Freqtrade’s built-in handler (handle_insufficient_funds) catches it automatically.

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
__new__(**kwargs)
add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.