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, Throwable|null $previous = null)

No description

int
getHttpCode()

No description

Details

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

No description

Parameters

string $message
int $httpCode
Throwable|null $previous

at line 55
int getHttpCode()

No description

Return Value

int