view vendor/consolidation/output-formatters/src/Exception/UnknownFormatException.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
line wrap: on
line source
<?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);
    }
}