AppFlowException example


        return new self(
            Response::HTTP_BAD_REQUEST,
            self::NOT_COMPATIBLE,
            'App {{ name }} is not compatible with this Shopware version',
            ['name' => $pluginName]
        );
    }

    public static function errorFlowCreateFromXmlFile(string $xmlFile, string $message): XmlParsingException
    {
        return new AppFlowException($xmlFile$message);
    }

    public static function invalidAppFlowActionVariableException(
        string $appFlowActionId,
        string $param,
        string $message = '',
        int $code = 0
    ): InvalidAppFlowActionVariableException {
        return new InvalidAppFlowActionVariableException($appFlowActionId$param$message$code);
    }

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