IndeterminateBundleException.php in Varbase Media 9.0.x
File
modules/entity_browser_generic_embed/src/Exception/IndeterminateBundleException.php
View source
<?php
namespace Drupal\entity_browser_generic_embed\Exception;
use Drupal\Core\Entity\EntityInterface;
class IndeterminateBundleException extends \UnexpectedValueException {
public function __construct($value, $code = 0, \Exception $previous = NULL) {
$message = sprintf('Could not match any bundles to input: %s', $value instanceof EntityInterface ? $value
->label() : var_export($value, TRUE));
parent::__construct($message, $code, $previous);
}
}