> For the complete documentation index, see [llms.txt](https://socket.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://socket.gitbook.io/docs/3-ke-hu-duan-apiclientapi/3.3-socket/event_reconnect_error.md).

# 3.3.21 event:reconnect\_error

* `error` (Object) 错误对象

在重新连接尝试错误时触发。

```javascript
socket.on('reconnect_error',(error)=>{
    // ...
})
```
