PHPMailer\PHPMailer
Exception::errorMessage
Prettify error message output.
Method of the class: Exception{}
No Hooks.
Returns
String.
Usage
$Exception = new Exception(); $Exception->errorMessage();
Exception::errorMessage() Exception::errorMessage code WP 7.0
public function errorMessage()
{
return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
}