HttpException
class HttpException extends Exception (View source)
Properties
protected string | $status | Define the status code has message |
|
protected array | $error_bags | Define the errors bags |
Methods
__construct(string $message, int $code = 200)
HttpException constructor
string
getStatus()
Get the define user error code
int
getStatusCode()
Get the status code
setErrorBags(array $errors)
Set the errors bags
array
getErrorBags()
Get the errors bags
Details
__construct(string $message, int $code = 200)
HttpException constructor
string
getStatus()
Get the define user error code
int
getStatusCode()
Get the status code
setErrorBags(array $errors)
Set the errors bags
array
getErrorBags()
Get the errors bags