#[Package('buyers-experience')]
class SeoException extends HttpException
{ public const SALES_CHANNEL_ID_PARAMETER_IS_MISSING = 'FRAMEWORK__SALES_CHANNEL_ID_PARAMETER_IS_MISSING';
public const TEMPLATE_PARAMETER_IS_MISSING = 'FRAMEWORK__TEMPLATE_PARAMETER_IS_MISSING';
public const ROUTE_NAME_PARAMETER_IS_MISSING = 'FRAMEWORK__ROUTE_NAME_PARAMETER_IS_MISSING';
public const ENTITY_NAME_PARAMETER_IS_MISSING = 'FRAMEWORK__ENTITY_NAME_PARAMETER_IS_MISSING';
public const SALES_CHANNEL_NOT_FOUND = 'FRAMEWORK__SALES_CHANNEL_NOT_FOUND';
public static function invalidSalesChannelId(string
$salesChannelId): ShopwareHttpException
{ return new InvalidSalesChannelIdException($salesChannelId);
} public static function salesChannelIdParameterIsMissing(): self
{ return new self( Response::HTTP_BAD_REQUEST,
self::SALES_CHANNEL_ID_PARAMETER_IS_MISSING,
'Parameter "salesChannelId" is missing.',
);
}