Skip to content

A free, self-hostable news aggregator…

325 B
Raw Blame
<?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);
	}
}