'type' =>
$type, 'message' =>
$message, 'file' =>
$file, 'line' =>
$line] =
$error;
if ($this->exceptionCaughtByExceptionHandler
) { $message .= "\n【Previous Exception】\n"
.
get_class($this->exceptionCaughtByExceptionHandler
) . "\n"
.
$this->exceptionCaughtByExceptionHandler->
getMessage() . "\n"
.
$this->exceptionCaughtByExceptionHandler->
getTraceAsString();
} if (in_array($type,
[E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_PARSE
], true
)) { $this->
exceptionHandler(new ErrorException($message, 0,
$type,
$file,
$line));
} } /**
* Determines the view to display based on the exception thrown,
* whether an HTTP or CLI request, etc.
*
* @return string The path and filename of the view file to use
*
* @deprecated 4.4.0 No longer used. Moved to ExceptionHandler.
*/