First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
17
system/Pager/Exceptions/PagerException.php
Normal file
17
system/Pager/Exceptions/PagerException.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user