learning-center/app/User/Models/UserAlreadyExist.php

14 lines
231 B
PHP
Raw Normal View History

2024-09-08 13:48:26 +03:00
<?php
declare(strict_types=1);
namespace App\User\Models;
final class UserAlreadyExist extends \DomainException
{
public function __construct()
{
parent::__construct('User with same name already exist');
}
}