12 lines
274 B
PHP
12 lines
274 B
PHP
|
<?php
|
||
|
|
||
|
namespace Opdavies\DrupalModuleGenerator\Exception;
|
||
|
|
||
|
class CannotCreateModuleException extends \RuntimeException
|
||
|
{
|
||
|
public static function directoryAlreadyExists()
|
||
|
{
|
||
|
return new static('The given directory name for the module already exists.');
|
||
|
}
|
||
|
}
|