16 lines
346 B
PHP
16 lines
346 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Inventory\Domain\Exceptions;
|
|
|
|
use App\Modules\Shared\Domain\Exceptions\DomainException;
|
|
|
|
final class InvalidStockQuantity extends DomainException
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('A stock quantity must be a number with at most three decimals.');
|
|
}
|
|
}
|