FilterException
extends ConfigException
in package
implements
ExceptionInterface
FilterException
Interfaces, Classes and Traits
- ExceptionInterface
- Provides a domain-level interface for broad capture of all framework-related exceptions.
Table of Contents
- $code : int
- Error code
- __construct() : mixed
- Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
- forDisabledMigrations() : mixed
- forIncorrectInterface() : static
- Thrown when the filter class does not implement FilterInterface.
- forNoAlias() : static
- Thrown when the provided alias is not within the list of configured filter aliases.
Properties
$code
Error code
protected
int
$code
= 3
Methods
__construct()
Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
public
final __construct([string $message = '' ], int $code[, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int
- $previous : Throwable|null = null
Return values
mixed —forDisabledMigrations()
public
static forDisabledMigrations() : mixed
Return values
mixed —forIncorrectInterface()
Thrown when the filter class does not implement FilterInterface.
public
static forIncorrectInterface(string $class) : static
Parameters
- $class : string
Return values
static —forNoAlias()
Thrown when the provided alias is not within the list of configured filter aliases.
public
static forNoAlias(string $alias) : static
Parameters
- $alias : string