16 lines
344 B
PHP
16 lines
344 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Machines\Domain\Exceptions;
|
|
|
|
use App\Modules\Shared\Domain\Exceptions\DomainException;
|
|
|
|
final class MachineNeedsServiceUnit extends DomainException
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('A machine needs at least one service unit that uses stock.');
|
|
}
|
|
}
|