First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
17
system/Filters/Exceptions/FilterException.php
Normal file
17
system/Filters/Exceptions/FilterException.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php namespace CodeIgniter\Filters\Exceptions;
|
||||
|
||||
use CodeIgniter\Exceptions\ConfigException;
|
||||
use CodeIgniter\Exceptions\ExceptionInterface;
|
||||
|
||||
class FilterException extends ConfigException implements ExceptionInterface
|
||||
{
|
||||
public static function forNoAlias(string $alias)
|
||||
{
|
||||
return new static(lang('Filters.noFilter', [$alias]));
|
||||
}
|
||||
|
||||
public static function forIncorrectInterface(string $class)
|
||||
{
|
||||
return new static(lang('Filters.incorrectInterface', [$class]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user