AllBridgesFailedError
Documentation for eth_defi.feed.collector.AllBridgesFailedError exception.
- exception AllBridgesFailedError
Bases:
RuntimeErrorRaised when every bridge URL for a social feed source fails.
- Parameters
source_label – Human-readable source type label for error messages.
canonical_url – Canonical source URL for diagnostics.
bridge_errors – List of
(url, http_status_or_none)for each attempt.Nonefor the status code indicates a non-HTTP failure such as a timeout.
- __init__(source_label, canonical_url, bridge_errors)
- __new__(**kwargs)
- add_note(note, /)
Add a note to the exception
- property indicates_auth_block: bool
Return True when at least one bridge returned HTTP 503 (LinkedIn auth barrier).
When all bridges fail and at least one specifically returns 503, LinkedIn is most likely redirecting unauthenticated requests to the login page for this company. Bridges that are simply down (502 or connection error) do not indicate anything about LinkedIn’s stance on the company page, so they are not required to return 503.
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.