aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/PermissionDeniedException.php
blob: fc85d60c69b55b3c726455238086f4811e833181 (plain)
1
2
3
4
5
6
7
8
9
10
<?php
declare(strict_types=1);

class Minz_PermissionDeniedException extends Minz_Exception {
	public function __construct(string $file_name, int $code = self::ERROR) {
		$message = 'Permission is denied for `' . $file_name . '`';

		parent::__construct($message, $code);
	}
}