extends |
RuntimeException |
|---|---|
implements |
HttpExceptionInterface |
HttpException.
| Methods | ||
|---|---|---|
public
|
__construct(int $statusCode, string $message = '', Throwable $previous = null, array $headers = [], int $code = 0)
|
# |
public
|
getStatusCode(): int
|
# |
public
|
getHeaders(): array
|
# |
public
|
setHeaders(array $headers): void
|
# |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
| Properties | |||
|---|---|---|---|
private
|
int
|
$statusCode
|
# |
private
|
array
|
$headers
|
# |