\think\exceptionHttpException

HTTP异常

Summary

Methods
Properties
Constants
__construct()
getStatusCode()
getHeaders()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$statusCode
$headers
N/A

Properties

$statusCode

$statusCode

$headers

$headers

Methods

__construct()

__construct(int  $statusCode, string  $message = '', \Exception  $previous = null, array  $headers = [], mixed  $code) : mixed

Parameters

int $statusCode
string $message
\Exception $previous
array $headers
mixed $code

Returns

mixed —

getStatusCode()

getStatusCode() : mixed

Returns

mixed —

getHeaders()

getHeaders() : mixed

Returns

mixed —