[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Exception for HTTP requests

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

Defines 1 class

Exception:: (3 methods):
  __construct()
  getType()
  getData()


Class: Exception  - X-Ref

Exception for HTTP requests

__construct($message, $type, $data = null, $code = 0)   X-Ref
Create a new exception

param: string $message Exception message
param: string $type Exception type
param: mixed $data Associated data
param: integer $code Exception numerical code, if applicable

getType()   X-Ref
Like {@see \Exception::getCode()}, but a string code.

return: string

getData()   X-Ref
Gives any relevant data

return: mixed



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