Clickalicious\PhpMemAdmin\App::errorContext PHP Method

errorContext() protected method

Returns an error context array which contains an error-number and variables related to the error.
Author: Benjamin Carl ([email protected])
protected errorContext ( integer $errorNumber, array $context = [] ) : array
$errorNumber integer The error number
$context array The related variables
return array An error context array containing key number and context
    protected function errorContext($errorNumber, array $context = array())
    {
        return array('number' => $errorNumber, 'context' => $context);
    }