PHPDaemon\SockJS\Methods\Generic::error PHP 메소드

error() 보호된 메소드

error
protected error ( integer $code ) : void
$code integer
리턴 void
    protected function error($code)
    {
        $this->sendFrame('c' . json_encode([$code, isset($this->errors[$code]) ? $this->errors[$code] : null]));
    }