ldc-boutique-cnc-sable/shared/Exceptions/InvalidUuidException.php

14 lines
252 B
PHP
Raw Permalink Normal View History

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