Files
rpsls-game/system/Router/Exceptions/RouterException.php
2019-12-02 14:56:47 -06:00

18 lines
453 B
PHP

<?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'));
}
}