You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
349 B
15 lines
349 B
<?php namespace CodeIgniter\CLI\Exceptions;
|
|
|
|
class CLIException extends \RuntimeException
|
|
{
|
|
/**
|
|
* @param string $type
|
|
* @param string $color
|
|
*
|
|
* @return \CodeIgniter\CLI\Exceptions\CLIException
|
|
*/
|
|
public static function forInvalidColor(string $type, string $color)
|
|
{
|
|
return new static(lang('CLI.invalidColor', [$type, $color]));
|
|
}
|
|
}
|
|
|