@not3/sdk
    Preparing search index...

    Function p2pErrorFromGatewayCode

    • Map a signaling gateway error code to a typed error.

      Parameters

      • code: string

        The code carried by the gateway's error frame.

      Returns P2PError

      The matching error class, or a generic P2PError.