Zend\Stratigility\Next::raiseThrowableFromError PHP Méthode

raiseThrowableFromError() private méthode

private raiseThrowableFromError ( mixed $err )
$err mixed
    private function raiseThrowableFromError($err)
    {
        if ($err instanceof Throwable || $err instanceof \Exception) {
            throw $err;
        }
        $this->triggerErrorDeprecation();
        throw Exception\MiddlewareException::fromErrorValue($err);
    }