classe HttpException étends Exception (Voir la source)

Propriétés

protected string $status

Define the status code has message

Méthodes

__construct(string $message, string $code = 200)

HttpException constructor

string
getStatus()

Get the define user error code

string
getStatusCode()

Get the status code

Détails

__construct(string $message, string $code = 200)

HttpException constructor

Paramètres

string $message
string $code

string getStatus()

Get the define user error code

Valeur de retour

string

string getStatusCode()

Get the status code

Valeur de retour

string