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
511 B

<?php namespace CodeIgniter\Pager\Exceptions;
use CodeIgniter\Exceptions\ExceptionInterface;
use CodeIgniter\Exceptions\FrameworkException;
class PagerException extends FrameworkException implements ExceptionInterface
{
public static function forInvalidTemplate(string $template = null)
{
return new static(lang('Pager.invalidTemplate', [$template]));
}
public static function forInvalidPaginationGroup(string $group = null)
{
return new static(lang('Pager.invalidPaginationGroup', [$group]));
}
}