16 lines
366 B
PHP
16 lines
366 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Catalog\Domain\Exceptions;
|
|
|
|
use App\Modules\Shared\Domain\Exceptions\DomainException;
|
|
|
|
final class SharedUnitCannotUseStock extends DomainException
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('The shared service unit follows the job\'s units and cannot use stock by itself.');
|
|
}
|
|
}
|