@maschinenlesbar.org/pegel-online-cli
    Preparing search index...

    Function isTransientNetworkError

    • True for a PegelNetworkError 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 transient in that sense and is not retried.

      Parameters

      • err: unknown

      Returns boolean