error method

  1. @override
SocketIoChannel error(
  1. Function callback
)
override

Register a callback to be called anytime an error occurs.

Implementation

@override
SocketIoChannel error(Function callback) => this;