16 lines
312 B
PHP
16 lines
312 B
PHP
<?php
|
|
namespace ProVM\Common\Exception\Request\Auth;
|
|
|
|
use Exception;
|
|
use Throwable;
|
|
|
|
class Unauthorized extends Exception
|
|
{
|
|
public function __construct(?Throwable $previous = null)
|
|
{
|
|
$message = 'Unauthorized';
|
|
$code = 401;
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
}
|