HttpError
+ Inheritance diagram for HttpError:

Description

An HTTP error with a user friendly message.

Public Properties

const MESSAGES
 

Public Methods

 __construct (int $code, string $message=null, Throwable $previous=null)
 

Constructor

◆ __construct()

__construct ( int  $code,
string  $message = null,
Throwable  $previous = null 
)
Parameters
int$code4xx|5xx
null | string$messageDefaults to the standard description.
Throwable | null$previous