PHPMailer\PHPMailer\POP3::catchWarning PHP Method

catchWarning() protected method

POP3 connection error handler.
protected catchWarning ( integer $errno, string $errstr, string $errfile, integer $errline )
$errno integer
$errstr string
$errfile string
$errline integer
    protected function catchWarning($errno, $errstr, $errfile, $errline)
    {
        $this->setError(['error' => 'Connecting to the POP3 server raised a PHP warning: ', 'errno' => $errno, 'errstr' => $errstr, 'errfile' => $errfile, 'errline' => $errline]);
    }