FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct (string $message, int $code, ?Throwable $previous=null) | |
getRequest () | |
setHeaders (array $headers) | |
getHeaders () | |
Protected Attributes | |
ServerRequestInterface | $request |
array | $headers = [] |
Base exception class for HTTP error status in API.
Definition at line 18 of file HttpErrorException.php.
Fossology\UI\Api\Exceptions\HttpErrorException::getHeaders | ( | ) |
Definition at line 58 of file HttpErrorException.php.
Fossology\UI\Api\Exceptions\HttpErrorException::getRequest | ( | ) |
Definition at line 40 of file HttpErrorException.php.
Fossology\UI\Api\Exceptions\HttpErrorException::setHeaders | ( | array | $headers | ) |
array | $headers |
Definition at line 49 of file HttpErrorException.php.
|
protected |
HTTP headers to be sent with the error response
Definition at line 29 of file HttpErrorException.php.
|
protected |
HTTP Slim Request
Definition at line 24 of file HttpErrorException.php.