MulticallRetryExhausted

Documentation for eth_defi.event_reader.multicall_batcher.MulticallRetryExhausted exception.

exception MulticallRetryExhausted

Bases: eth_defi.event_reader.multicall_batcher.MulticallRetryable, RuntimeError

Bounded physical-batch recovery failed; inspect the chained final cause.

Retain transport diagnostics and the completed physical-request prefix.

Reduced-batch recovery can fail after earlier fragments succeeded. The retry coordinator needs their outputs to resume at the first unread input instead of charging the provider again for completed work.

Parameters
  • message – Failure description from the transport wrapper.

  • status_code – HTTP status when available, including rate limits.

  • headers – Response headers used by provider retry policy.

  • completed_results – Ordered (success, return_data) prefix.

Returns

None.

__init__(message, status_code=None, headers=None, completed_results=None)

Retain transport diagnostics and the completed physical-request prefix.

Reduced-batch recovery can fail after earlier fragments succeeded. The retry coordinator needs their outputs to resume at the first unread input instead of charging the provider again for completed work.

Parameters
  • message (str) – Failure description from the transport wrapper.

  • status_code (Optional[int]) – HTTP status when available, including rate limits.

  • headers (Optional[dict]) – Response headers used by provider retry policy.

  • completed_results (Optional[list[tuple[bool, bytes]]]) – Ordered (success, return_data) prefix.

Returns

None.

Return type

None

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

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.

completed_results

Ordered (success, return_data) from physical chunks completed before this failure. Retries resume after these inputs, not at zero.