FilterException
extends ConfigException
in package
implements
ExceptionInterface
FilterException
Table of Contents
Interfaces
- ExceptionInterface
- Provides a domain-level interface for broad capture of all framework-related exceptions.
Methods
- __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() : static
- 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.
- getExitCode() : int
- Returns exit status code.
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 = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int = 0
- $previous : Throwable|null = null
forDisabledMigrations()
public
static forDisabledMigrations() : static
Return values
staticforIncorrectInterface()
Thrown when the filter class does not implement FilterInterface.
public
static forIncorrectInterface(string $class) : static
Parameters
- $class : string
Return values
staticforNoAlias()
Thrown when the provided alias is not within the list of configured filter aliases.
public
static forNoAlias(string $alias) : static
Parameters
- $alias : string
Return values
staticgetExitCode()
Returns exit status code.
public
getExitCode() : int