ContextErrorException
extends ErrorException
in package
Error Exception with Variable Context.
since version 3.3. Instead, \ErrorException will be used directly in 4.0.
Tags
Table of Contents
Properties
- $context : mixed
Methods
- __construct() : mixed
- getContext() : array<string|int, mixed>
Properties
$context
private
mixed
$context
= array()
Methods
__construct()
public
__construct(mixed $message, mixed $code, mixed $severity, mixed $filename, mixed $lineno[, mixed $context = array() ]) : mixed
Parameters
- $message : mixed
- $code : mixed
- $severity : mixed
- $filename : mixed
- $lineno : mixed
- $context : mixed = array()
getContext()
public
getContext() : array<string|int, mixed>
Return values
array<string|int, mixed> —Array of variables that existed when the exception occurred