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

use CodeIgniter\Exceptions\ExceptionInterface;
use CodeIgniter\Exceptions\FrameworkException;

class RouterException extends FrameworkException implements ExceptionInterface
{
	public static function forInvalidParameterType()
	{
		return new static(lang('Router.invalidParameterType'));
	}

	public static function forMissingDefaultRoute()
	{
		return new static(lang('Router.missingDefaultRoute'));
	}
}