FatalErrorHandlerInterface

FatalErrorHandlerInterface

interface FatalErrorHandlerInterface

Attempts to convert fatal errors to exceptions.

Methods

FatalErrorException|null handleError(array $error, FatalErrorException $exception)

Attempts to convert an error into an exception.

Details

FatalErrorException|null handleError(array $error, FatalErrorException $exception)

Attempts to convert an error into an exception.

Parameters

array $error An array as returned by errorgetlast()
FatalErrorException $exception A FatalErrorException instance

Return Value

FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部