@maschinenlesbar.org/govdata-cli
    Preparing search index...

    Function isTransientNetworkError

    • True for a GovDataNetworkError caused by a reset or aborted connection, which the engine retries — whichever transport raised it (a Node error, fetch's TypeError with an undici cause). A refused connection, a DNS failure or a timeout is not retried.

      Parameters

      • err: unknown

      Returns boolean