12 lines
236 B
PHP
12 lines
236 B
PHP
|
<?php
|
||
|
|
||
|
namespace IO\Exception;
|
||
|
|
||
|
class NotADirectoryException extends IOException
|
||
|
{
|
||
|
public function __construct(string $directory)
|
||
|
{
|
||
|
parent::__construct(sprintf('Argument \'%s\' is not a directory', $directory));
|
||
|
}
|
||
|
}
|