Method
_error
* Produces an `error` packet. * * @param {Object} err - error object * * @private
(err)
Source from the content-addressed store, hash-verified
| 691 | * @private |
| 692 | */ |
| 693 | _error(err): void { |
| 694 | this.packet({ type: PacketType.CONNECT_ERROR, data: err }); |
| 695 | } |
| 696 | |
| 697 | /** |
| 698 | * Disconnects this client. |
Tested by
no test coverage detected