__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
use Psr\Http\Message\ServerRequestInterface;
use RuntimeException;
use Throwable;
/**
* @method int getCode()
*/
class HttpException extends RuntimeException
{
protected ServerRequestInterface $request;
protected string $title = '';
protected string $description = '';
public function __construct(
ServerRequestInterface $request,
string $message = '',
int $code = 0,
?Throwable $previous = null
) {
parent::__construct($message, $code, $previous);
$this->request = $request;
}
public function getRequest(): ServerRequestInterface
{
return $this->request;
}
public function getTitle(): string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getDescription(): string
{
return $this->description;
}
public function setDescription(string $description): self
{
$this->description = $description;
return $this;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| HttpBadRequestException.php | File | 584 B | 0777 |
|
| HttpException.php | File | 1.25 KB | 0777 |
|
| HttpForbiddenException.php | File | 541 B | 0777 |
|
| HttpGoneException.php | File | 533 B | 0777 |
|
| HttpInternalServerErrorException.php | File | 593 B | 0777 |
|
| HttpMethodNotAllowedException.php | File | 1.06 KB | 0777 |
|
| HttpNotFoundException.php | File | 562 B | 0777 |
|
| HttpNotImplementedException.php | File | 579 B | 0777 |
|
| HttpSpecializedException.php | File | 771 B | 0777 |
|
| HttpTooManyRequestsException.php | File | 662 B | 0777 |
|
| HttpUnauthorizedException.php | File | 540 B | 0777 |
|