Files
ddd-example/src/Common/Domain/Exceptions/UnauthorizedUserException.php
T
omair saleh 97bfbdaf1e Add common domain and presentation layer
1. domain exception
2. create domain command
2022-09-25 14:40:42 +08:00

11 lines
237 B
PHP

<?php
namespace Src\Common\Domain\Exceptions;
final class UnauthorizedUserException extends \Exception
{
public function __construct()
{
parent::__construct('The user is not authorized to access this resource');
}
}