for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Shopware\Core\Checkout\Customer\Exception;
use Shopware\Core\Checkout\Customer\CustomerException;
use Shopware\Core\Framework\Log\Package;
use Symfony\Component\HttpFoundation\Response;
#[Package('customer-order')]
class CustomerAlreadyConfirmedException extends CustomerException
{
public function __construct(string $id)
parent::__construct(
Response::HTTP_PRECONDITION_FAILED,
self::CUSTOMER_IS_ALREADY_CONFIRMED,
'The customer with the id "{{ customerId }}" is already confirmed.',
['customerId' => $id]
);
}