PHPMailer\PHPMailer\PHPMailer::isError PHP Method

isError() public method

Check if an error occurred.
public isError ( ) : boolean
return boolean True if an error did occur.
    public function isError()
    {
        return $this->error_count > 0;
    }