init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace app\repository\exception;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class NotFoundUserException extends RuntimeException
|
||||
{
|
||||
public function __construct(
|
||||
$message = 'Not Found User in database',
|
||||
int $code = 404,
|
||||
?\Throwable $previous = null
|
||||
)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user