[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/Requests/Exception/HTTP/ -> Unknown.php (summary)

Exception for unknown status responses

File Size: 44 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Requests_Exception_HTTP_Unknown:: (1 method):
  __construct()


Class: Requests_Exception_HTTP_Unknown  - X-Ref

Exception for unknown status responses

__construct($reason = null, $data = null)   X-Ref
Create a new exception

If `$data` is an instance of {@see Requests_Response}, uses the status
code from it. Otherwise, sets as 0

param: string|null $reason Reason phrase
param: mixed $data Associated data



Generated: Thu Dec 15 01:00:02 2022 Cross-referenced by PHPXref 0.7.1