Autarky\Errors\ErrorHandlerManager::makeFatalErrorException PHP Метод

makeFatalErrorException() защищенный Метод

Create a FatalErrorException out of the information stored on the last PHP error.
protected makeFatalErrorException ( ) : Symfony\Component\Debug\Exception\FatalErrorException | null
Результат Symfony\Component\Debug\Exception\FatalErrorException | null
    protected function makeFatalErrorException()
    {
        $error = error_get_last();
        if ($error !== null) {
            return new FatalErrorException($error['message'], $error['type'], 0, $error['file'], $error['line']);
        }
        return null;
    }