Bookmark

cosmpy.aerial.exceptions

Exceptions

QueryError Objects

class QueryError(RuntimeError)

Invalid Query Error.

NotFoundError Objects

class NotFoundError(QueryError)

Not found error.

QueryTimeoutError Objects

class QueryTimeoutError(RuntimeError)

Query timeout error.

BroadcastError Objects

class BroadcastError(RuntimeError)

Broadcast error.

init

def __init__ (tx_hash: str, message: str)

Init Broadcast error.

Arguments:

  • tx_hash: transaction hash.
  • message: message.

OutOfGasError Objects

class OutOfGasError(BroadcastError)

Insufficient fees error.

init

def __init__(tx_hash: str, gas_wanted: int, gas_used: int)

Initialize.

Arguments:

  • tx_hash: transaction hash.
  • gas_wanted: gas required to complete the transaction.
  • gas_used: gas used.

InsufficientFeesError Objects

class InsufficientFeesError(BroadcastError)

init

def __init__(tx_hash: str, minimum_required_fee: str)

Initialize.

Arguments:

  • tx_hash: transaction hash.
  • minimum_required_fee: minimum required fee.

Was this page helpful?

Bookmark