VendorDirectoryNotFoundException.php in Vendor Stream Wrapper 8
File
src/Exception/VendorDirectoryNotFoundException.php
View source
<?php
namespace Drupal\vendor_stream_wrapper\Exception;
use Exception;
use Throwable;
use Drupal\Core\StringTranslation\StringTranslationTrait;
class VendorDirectoryNotFoundException extends Exception {
use StringTranslationTrait;
public function __construct($message = "", int $code = 0, Throwable $previous = NULL) {
$message = $this
->t('The vendor directory could not be found, and needs to be added to settings.php') . PHP_EOL . $message;
parent::__construct($message, $code, $previous);
}
}