TagSearchException.php in Bynder 8.2
File
src/Exception/TagSearchException.php
View source
<?php
namespace Drupal\bynder\Exception;
use Drupal\Core\Url;
class TagSearchException extends BynderException {
public function __construct($original_message) {
$log_message = 'Unable to retrieve tags: @message';
$log_message_args = [
'@message' => $original_message,
];
$admin_message = $this
->t($log_message, $log_message_args);
$message = $this
->t('Searching for tags failed. Please see the logs for more information.');
parent::__construct($message, $admin_message, $log_message, $log_message_args);
}
}
Classes
Name |
Description |
TagSearchException |
Exception indicating there was an error fetching tags from the Tag Search Service. |