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