RequestException
extends RuntimeException
in package
Class RequestException.
Table of Contents
Properties
- $info : array<string|int, mixed>
Methods
- __construct() : mixed
- RequestException constructor.
- getInfo() : array<string|int, mixed>
Properties
$info
protected
array<string|int, mixed>
$info
Methods
__construct()
RequestException constructor.
public
__construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ][, array<string|int, mixed> $info = [] ]) : mixed
Parameters
- $message : string = ''
- $code : int = 0
- $previous : Throwable|null = null
- $info : array<string|int, mixed> = []
getInfo()
public
getInfo() : array<string|int, mixed>
Attributes
- #[ArrayShape]
- ['appconnect_time_us' => 'int', 'certinfo' => 'array', 'connect_time' => 'float', 'connect_time_us' => 'int', 'content_type' => 'string', 'download_content_length' => 'float', 'effective_method' => 'string', 'filetime' => 'int', 'header_size' => 'int', 'http_code' => 'int', 'http_version' => 'int', 'local_ip' => 'string', 'local_port' => 'int', 'namelookup_time' => 'float', 'namelookup_time_us' => 'int', 'pretransfer_time' => 'float', 'pretransfer_time_us' => 'int', 'primary_ip' => 'string', 'primary_port' => 'int', 'protocol' => 'int', 'redirect_count' => 'int', 'redirect_time' => 'float', 'redirect_time_us' => 'int', 'redirect_url' => 'string', 'request_size' => 'int', 'scheme' => 'string', 'size_download' => 'float', 'size_upload' => 'float', 'speed_download' => 'float', 'speed_upload' => 'float', 'ssl_verify_result' => 'int', 'ssl_verifyresult' => 'int', 'starttransfer_time' => 'float', 'starttransfer_time_us' => 'int', 'total_time' => 'float', 'total_time_us' => 'int', 'upload_content_length' => 'float', 'url' => 'string']