Function getErrorCodeFromStreamError

  • Stream errors generally provide a reason, map that to a baileys DisconnectReason

    Parameters

    Returns {
        reason: string;
        statusCode: number;
    }

    • reason: string
    • statusCode: number

Generated using TypeDoc