Newer
Older
framework / system / Files / Exceptions / FileNotFoundException.php
@Jim Parry Jim Parry on 1 Dec 2018 301 bytes Release 4.0.0-alpha.3
<?php namespace CodeIgniter\Files\Exceptions;

use CodeIgniter\Exceptions\ExceptionInterface;

class FileNotFoundException extends \RuntimeException implements ExceptionInterface
{
	public static function forFileNotFound(string $path)
	{
		return new static(lang('Files.fileNotFound', [$path]));
	}
}