protected function errorHandler($errno, $errmsg, $errfile = '', $errline = 0)
    {
        $notice = 'Connection failed.';
        $this->setError(
            $notice,
            $errmsg,
            (string) $errno
        );
        $this->edebug(
            "$notice Error #$errno: $errmsg [$errfile line $errline]",
            self::DEBUG_CONNECTION
        );
    }
protected function errorHandler($errno, $errmsg, $errfile = '', $errline = 0)
    {
        $notice = 'Connection failed.';
        $this->setError(
            $notice,
            $errmsg,
            (string) $errno
        );
        $this->edebug(
            "$notice Error #$errno: $errmsg [$errfile line $errline]",
            self::DEBUG_CONNECTION
        );
    }
protected function errorHandler ( $ errno , $ errmsg , $ errfile = '' , $ errline = 0 ) { $ notice = 'Connection failed.' ; $ this -> setError ( $ notice , $ errmsg , ( string ) $ errno ) ; $ this -> edebug ( "$notice Error #$errno: $errmsg [$errfile line $errline]" , self :: DEBUG_CONNECTION ) ; }
Reports an error number and string.

@param int    $errno   The error number returned by PHP
@param string $errmsg  The error message returned by PHP
@param string $errfile The file the error occurred in
@param int    $errline The line number the error occurred on
Reports an error number and string .