has occurred and the websocket
 will attempt to reconnect.
 </span></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The JavaScript event handler function that is invoked when a connection error has occurred and the websocket
 will attempt to reconnect.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
</dl>
</li>
</ul>
<a id="setOnerror(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnerror</h4>
<pre class="methodSignature">publ