Methods |
public
static
|
deregister(): ErrorHandler
Deregister previously registered error and exception handlers
Deregister previously registered error and exception handlers
|
#
|
public
static
|
getExitStatus(): int
Get the exit status of the running script if it is terminating
Get the exit status of the running script if it is terminating
|
#
|
public
static
|
handleExitSignal(int $exitStatus): void
Report the exit status of the running script before it terminates on SIGTERM, SIGINT or SIGHUP
Report the exit status of the running script before it terminates on SIGTERM, SIGINT or SIGHUP
|
#
|
public
static
|
isRegistered(): bool
Check if error, exception and shutdown handlers are registered
Check if error, exception and shutdown handlers are registered
|
#
|
public
static
|
isShuttingDown(): bool
Check if the running script is terminating
Check if the running script is terminating
|
#
|
public
static
|
isShuttingDownOnError(): bool
Check if the running script is terminating after a fatal error or uncaught exception
Check if the running script is terminating after a fatal error or uncaught exception
|
#
|
public
static
|
register(): ErrorHandler
Register error, exception and shutdown handlers
Register error, exception and shutdown handlers
|
#
|
public
static
|
silencePath(string $path, int $levels = 26624): ErrorHandler
Silence errors in a file or directory
Silence errors in a file or directory
|
#
|
public
static
|
silencePattern(string $pattern, int $levels = 26624): ErrorHandler
Silence errors in paths that match a regular expression
Silence errors in paths that match a regular expression
|
#
|