ConfigException
extends CriticalError
in package
implements
HasExitCodeInterface
uses
DebugTraceableTrait
Exception for automatic logging.
Table of Contents
Interfaces
- HasExitCodeInterface
- Interface for Exceptions that has exception code as exit code.
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
- 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
staticgetExitCode()
Returns exit status code.
public
getExitCode() : int