h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">webSocketDidReceiveError</span><span class="p">(</span><span class="nv">connection</span><span class="p">:</span> <span class="kt"><a href="../Protocols/WebSocketConnection.html">WebSocketConnection</a></span><span class="p">,</span>
                              <span class="nv">error</span><s