Initial Drupal 11 with DDEV setup
This commit is contained in:
15
vendor/consolidation/output-formatters/src/Exception/UnknownFormatException.php
vendored
Normal file
15
vendor/consolidation/output-formatters/src/Exception/UnknownFormatException.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Consolidation\OutputFormatters\Exception;
|
||||
|
||||
/**
|
||||
* Indicates that the requested format does not exist.
|
||||
*/
|
||||
class UnknownFormatException extends \Exception
|
||||
{
|
||||
public function __construct($format)
|
||||
{
|
||||
$message = "The requested format, '$format', is not available.";
|
||||
parent::__construct($message, 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user