HttpException
extends Exception
in package
Http exception class
Table of Contents
Properties
- $httpStatusCode : int
- Undocumented variable
Methods
- __construct() : mixed
- Constructor
- getStatusCode() : int
- Get http status code
Properties
$httpStatusCode
Undocumented variable
protected
int
$httpStatusCode
Methods
__construct()
Constructor
public
__construct(int $httpStatusCode[, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $httpStatusCode : int
- $code : int = 0
- $previous : Throwable|null = null
getStatusCode()
Get http status code
public
getStatusCode() : int