class ResponseException extends ErrorException (View source)

Properties

protected int $code

Define the http response code

Methods

void
setCode(int $code)

Set the http code

Details

void setCode(int $code)

Set the http code

Parameters

int $code

Return Value

void