[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/Exception/Http/ -> StatusUnknown.php (summary)

Exception for unknown status responses

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

Defines 1 function

  __construct()

Functions
Functions that are not part of a class:

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

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

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



Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref