__construct() public method
Constructor.
public void __construct ( $status, $message = null, $code = 0, Exception $previous = null ) | ||
---|---|---|
$status | integer |
HTTP status code, such as 404, 500, etc. |
$message | string |
Error message |
$code | integer |
Error code |
$previous | Exception |
The previous exception used for the exception chaining. |
Please login to continue.