for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace HttpSoft\Basis\Exception;
use HttpSoft\ErrorHandler\ErrorResponseGeneratorInterface;
use Throwable;
class UnauthorizedHttpException extends HttpException
{
/**
* @param string|null $reasonPhrase
* @param Throwable|null $previous
*/
public function __construct(string $reasonPhrase = null, Throwable $previous = null)
parent::__construct(ErrorResponseGeneratorInterface::STATUS_UNAUTHORIZED, $reasonPhrase, $previous);
}