Files
Toiminnanohjaus/app/Modules/Inventory/Domain/Exceptions/InvalidStockName.php
2026-11-26 16:18:59 +02:00

16 lines
318 B
PHP

<?php
declare(strict_types=1);
namespace App\Modules\Inventory\Domain\Exceptions;
use App\Modules\Shared\Domain\Exceptions\DomainException;
final class InvalidStockName extends DomainException
{
public function __construct()
{
parent::__construct('A stock name must be 1-150 characters.');
}
}