'tlsClientError' 事件
在建立安全连接之前发生错误时会触发 'tlsClientError' 事件。
监听器回调在调用时传入两个参数:
exception<Error> 描述错误的Error对象tlsSocket<tls.TLSSocket> 错误源自的tls.TLSSocket实例。
The 'tlsClientError' event is emitted when an error occurs before a secure
connection is established. The listener callback is passed two arguments when
called:
exception<Error> TheErrorobject describing the errortlsSocket<tls.TLSSocket> Thetls.TLSSocketinstance from which the error originated.