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

class Minz_ControllerNotActionControllerException extends Minz_Exception {
	public function __construct(string $controller_name, int $code = self::ERROR) {
		$message = 'Controller `' . $controller_name . '` isn’t instance of ActionController';

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