Binance Connector JS
    Preparing search index...

    Function getTransportCode

    • Extracts a transport-level error code (e.g. ECONNREFUSED) from an error thrown by the HTTP client.

      Only the code string is returned; the original error (which may hold request config, headers and signed URLs) is never retained. Values that do not look like an error code are ignored.

      Parameters

      • error: unknown

        The error object to inspect.

      Returns undefined | string

      The transport error code, or undefined if none is available.