LibraryTypeNotFoundException.php in Libraries API 8.3        
                          
                  
                        
  
  
  
  
  
File
  src/ExternalLibrary/Exception/LibraryTypeNotFoundException.php
  
    View source  
  <?php
namespace Drupal\libraries\ExternalLibrary\Exception;
use Drupal\libraries\ExternalLibrary\Utility\LibraryIdAccessorTrait;
use Drupal\libraries\ExternalLibrary\Utility\LibraryIdAccessorInterface;
class LibraryTypeNotFoundException extends \RuntimeException implements LibraryIdAccessorInterface {
  use LibraryIdAccessorTrait;
  
  public function __construct($library_id, $message = '', $code = 0, \Exception $previous = NULL) {
    $this->libraryId = (string) $library_id;
    $message = $message ?: "The library type for the library '{$this->libraryId}' could not be found.";
    parent::__construct($message, $code, $previous);
  }
}