ErrorMessage: {
    message: string;
    senderId: PeerId;
    targetId: PeerId;
    type: "error";
}

An error occurred. The other end will terminate the connection after sending this message

Type declaration

  • message: string

    A description of the error

  • senderId: PeerId

    The peer sending the message

  • targetId: PeerId

    The PeerID of the client

  • type: "error"

Generated using TypeDoc