12 lines
232 B
PHP
12 lines
232 B
PHP
|
<?php
|
||
|
|
||
|
namespace IO\Exception;
|
||
|
|
||
|
class DirectoryNotFoundException extends IOException
|
||
|
{
|
||
|
public function __construct(string $directory)
|
||
|
{
|
||
|
parent::__construct(sprintf('Directory \'%s\' not found', $directory));
|
||
|
}
|
||
|
}
|