class ActionCable::Connection::ClientSocket

def emit_error(message)

def emit_error(message)
  return if @ready_state >= CLOSING
  @event_target.on_error(message)
end