ProviderNotAvailable

Documentation for eth_defi.provider.fallback.ProviderNotAvailable exception.

exception ProviderNotAvailable

Bases: eth_defi.provider.fallback.ChainIdMismatch

Raised when a provider cannot answer chain ID verification.

This is a recoverable switchover condition when other fallback providers are available. It subclasses ChainIdMismatch for backwards compatibility with callers that treat failed chain ID verification as a rejected provider selection.

__init__(*args, **kwargs)
__new__(**kwargs)
add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.