Interface

Symfony\Component\HttpKernel\Exception\HttpExceptionInterface

interface HttpExceptionInterface

Interface for HTTP error exceptions.

Methods

integer getStatusCode()

Returns the status code.

array getHeaders()

Returns response headers.

Details

at line 26
public integer getStatusCode()

Returns the status code.

Return Value

integer An HTTP response status code

at line 33
public array getHeaders()

Returns response headers.

Return Value

array Response headers