aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/ControllerNotActionControllerException.php
blob: 19e5df1b42b649d30f8113b9cb955fb9e3956b21 (plain)
1
2
3
4
5
6
7
8
<?php
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);
	}
}