class HttpException extends RuntimeException implements HttpExceptionInterface
HttpException.
Methods
__construct($statusCode, $message = null, Exception $previous = null, array $headers = array(), $code) | ||
int | getStatusCode() Returns the status code. | |
array | getHeaders() Returns response headers. | |
setHeaders(array $headers) Set response headers. |
Details
__construct($statusCode, $message = null, Exception $previous = null, array $headers = array(), $code)
int getStatusCode()
Returns the status code.
array getHeaders()
Returns response headers.
setHeaders(array $headers)
Set response headers.
Please login to continue.