PHPMailer::IsError

Returns true if an error occurred.