mirror of
https://gitlab.com/izyim/prototypes/ddd-example.git
synced 2026-08-19 12:34:08 +00:00
97bfbdaf1e
1. domain exception 2. create domain command
11 lines
237 B
PHP
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');
|
|
}
|
|
} |