UnableToDeleteUsageException.php in Bynder 8
File
src/Exception/UnableToDeleteUsageException.php
View source
<?php
namespace Drupal\bynder\Exception;
class UnableToDeleteUsageException extends BynderException {
public function __construct($original_message) {
$log_message = 'Unable to delete usage: @message';
$log_message_args = [
'@message' => $original_message,
];
$message = $this
->t('Unable to delete usage from Bynder asset. Please see the logs for more information.');
parent::__construct($message, NULL, $log_message, $log_message_args);
}
}