public function sendError($message) { $this->sendMessage(Messaging::error($message)); $this->_client->close(); }
public function error($message) { $this->send(Messaging::error($message)); $this->endGame(); }