16 lines
370 B
PHP
16 lines
370 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Application\Arcadia\Exceptions;
|
|
|
|
use Domain\Models\ValueObjects\Inco\IncoId;
|
|
use Shared\DDD\Exception\NotFoundException;
|
|
|
|
final class IncoSheetNotFoundException extends NotFoundException
|
|
{
|
|
public static function forIncoSheet(IncoId | string $id): self
|
|
{
|
|
return new self("IncoSheet '{$id}' not found.");
|
|
}
|
|
}
|