UploadFailedException.php in Bynder 8.2
File
src/Exception/UploadFailedException.php
View source
<?php
namespace Drupal\bynder\Exception;
class UploadFailedException extends BynderException {
public function __construct($original_message) {
$log_message = 'Unable to upload files to Bynder: @message';
$log_message_args = [
'@message' => $original_message,
];
$admin_message = $this
->t($log_message, $log_message_args);
$message = $this
->t('Upload to Bynder failed. Please contact the site administrator.');
parent::__construct($message, $admin_message, $log_message, $log_message_args);
}
}