ldc-boutique-cnc-sable/shared/Exceptions/InvalidUuidException.php
Jérémy Munsch 2aa4fa8aed
feat(crm): implement unsubscribe from newsletter functionality
- Added UnsubscribeFromNewsletter action and input/output classes.
- Introduced CrmHashcode value object and its cast.
- Updated NewsletterController to use the new unsubscribe action.
- Enhanced validation in UnsubscribeNewsletterRequest.
2026-10-27 09:58:34 +01:00

13 lines
260 B
PHP

<?php
declare(strict_types=1);
namespace Shared\Helpers\Exceptions;
final class InvalidUuidException extends \InvalidArgumentException
{
public static function forValue(string $uuid): self
{
return new self("Invalid UUID: {$uuid}");
}
}