RenderHeaderException example


        if (!Feature::isActive('v6.6.0.0')) {
            return new RenderFooterException($message);
        }

        return new self(Response::HTTP_BAD_REQUEST, self::RENDER_FOOTER_EXCEPTION, self::getErrorMessage($message));
    }

    public static function renderHeaderException(string $message): ShopwareHttpException
    {
        if (!Feature::isActive('v6.6.0.0')) {
            return new RenderHeaderException($message);
        }

        return new self(Response::HTTP_BAD_REQUEST, self::RENDER_HEADER_EXCEPTION, self::getErrorMessage($message));
    }

    public static function renderProductException(string $message): ShopwareHttpException
    {
        if (!Feature::isActive('v6.6.0.0')) {
            return new RenderProductException($message);
        }

        
Home | Imprint | This part of the site doesn't use cookies.