PHPMailer\PHPMailer

Exception::errorMessage()publicWP 1.0

Prettify error message output.

Метод класса: Exception{}

Хуков нет.

Возвращает

Строку.

Использование

$Exception = new Exception();
$Exception->errorMessage();

Код Exception::errorMessage() WP 6.4.3

public function errorMessage()
{
    return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
}