\EasyWeChat\Kernel\ExceptionsHttpException

Class HttpException.

Summary

Methods
Properties
Constants
__construct()
$response
$formattedResponse
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$response

$response : \Psr\Http\Message\ResponseInterface|null

Type

\Psr\Http\Message\ResponseInterface|null

$formattedResponse

$formattedResponse : \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string

Type

\Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string

Methods

__construct()

__construct(string  $message, \Psr\Http\Message\ResponseInterface|null  $response = null, null  $formattedResponse = null, integer|null  $code = null) 

HttpException constructor.

Parameters

string $message
\Psr\Http\Message\ResponseInterface|null $response
null $formattedResponse
integer|null $code