Autarky\Errors\ErrorHandlerManager::throwFatalErrorException PHP Method

throwFatalErrorException() public method

Throw a FatalErrorException if an error has occured.
public throwFatalErrorException ( ) : void
return void
    public function throwFatalErrorException()
    {
        $exception = $this->makeFatalErrorException();
        if ($exception) {
            throw $exception;
        }
    }