class BadRequestException extends Exception

The exception that indicates client error with HTTP code 4xx.

Properties

protected int $code

Methods

__construct(string $message = '', int $httpCode = 0, Exception $previous = null)

No description

int
getHttpCode()

No description

Details

at line 49
__construct(string $message = '', int $httpCode = 0, Exception $previous = null)

Parameters

string $message
int $httpCode
Exception $previous

at line 55
int getHttpCode()

Return Value

int