You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
453 B
17 lines
453 B
<?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'));
|
|
}
|
|
}
|
|
|