HttpException
class HttpException extends RuntimeException implements HttpExceptionInterface
HttpException.
Methods
__construct(int $statusCode, string $message = null, Exception $previous = null, array $headers = array(), int|null $code = 0)
No description
int
getStatusCode()
Returns the status code.
array
getHeaders()
Returns response headers.
setHeaders(array $headers)
Set response headers.