ValidationException.php in Feeds 8.3
Namespace
Drupal\feeds\ExceptionFile
src/Exception/ValidationException.phpView source
<?php
namespace Drupal\feeds\Exception;
use Drupal\Component\Render\FormattableMarkup;
/**
* Thrown if validation of a feed item fails.
*/
class ValidationException extends FeedsRuntimeException {
/**
* Returns the formatted message.
*
* @return \Drupal\Component\Render\FormattableMarkup
* A formatted message.
*/
public function getFormattedMessage() {
return new FormattableMarkup($this
->getMessage(), []);
}
}
Classes
Name | Description |
---|---|
ValidationException | Thrown if validation of a feed item fails. |