16 lines
331 B
PHP
16 lines
331 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Machines\Domain\Exceptions;
|
|
|
|
use App\Modules\Shared\Domain\Exceptions\DomainException;
|
|
|
|
final class InvalidCounter extends DomainException
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('A counter needs a name of 1-100 characters and a unit.');
|
|
}
|
|
}
|