HTTPException
class HTTPException extends Exception implements HttpExceptionInterface
An Exception with an HTTP error code, the message of which is visible to the user
Methods
__construct(null|string $message = null, int $code, Exception $previous = null)
Construct new Exception
int
getStatusCode()
The HTTP error code that the response should include
array
getHeaders()
Headers to be included in the response
Details
at line line 30
__construct(null|string $message = null, int $code, Exception $previous = null)
Construct new Exception
at line line 48
int
getStatusCode()
The HTTP error code that the response should include
at line line 57
array
getHeaders()
Headers to be included in the response