Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 168 Bytes

event_error.md

File metadata and controls

14 lines (10 loc) · 168 Bytes

Event:'error'

  • error (Object) 错误对象

发生错误时触发。

io.on('connection',socket=>{
    socket.on('error',error=>{
        //
    })
})