AIKEEDO / src /Presentation /Exceptions /UnauthorizedException.php
Softin Trading
Initial Commit from GitHub.
cf14c12
Raw History Blame Contribute Delete
423 Bytes
<?php
namespace Presentation\Exceptions;
use Easy\Http\Message\StatusCode;
use Throwable;
class UnauthorizedException extends HttpException
{
public function __construct(
?string $message = 'You are not authorized to access this resource.',
?string $param = null,
?Throwable $previous = null
) {
parent::__construct($message, StatusCode::UNAUTHORIZED, $param, $previous);
}
}