[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Exception for HTTP requests

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

Defines 1 class

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


Class: Requests_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 getCode()}, but a string code.

return: string

getData()   X-Ref
Gives any relevant data

return: mixed



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