You are here

public function ValidationException::getFormattedMessage in Feeds 8.3

Returns the formatted message.

Return value

\Drupal\Component\Render\FormattableMarkup A formatted message.

File

src/Exception/ValidationException.php, line 18

Class

ValidationException
Thrown if validation of a feed item fails.

Namespace

Drupal\feeds\Exception

Code

public function getFormattedMessage() {
  return new FormattableMarkup($this
    ->getMessage(), []);
}