span></dt>
<dd><code>onerror</code> - The JavaScript event handler function that is invoked when a reconnection error has occurred.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
</dl>
</li>
</ul>
<a id="getOnclose()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnclose</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lan