public function addErrorMsg($event, $msg)
    {
        $event->addResponse(Response::msg($event->getRequest()->getSource(), $msg));
    }
public function addErrorMsg($event, $msg)
    {
        $event->addResponse(Response::msg($event->getRequest()->getSource(), $msg));
    }
public function addErrorMsg ( $ event , $ msg ) { $ event -> addResponse ( Response :: msg ( $ event -> getRequest ( ) -> getSource ( ) , $ msg ) ) ; }
Add an error message to the response.

@param \Philip\IRC\Event $event The event to add a response to
@param string $msg The error message to send

@return void
Add an error message to the response .