![]() |
TYPO3
7.6
|
Public Member Functions | |
| __construct ($message=null, $code=null, $nativeCode=null) | |
| getNativeCode () | |
Public Member Functions inherited from PEAR_Exception | |
| __construct ($message, $p2=null, $p3=null) | |
| getErrorData () | |
| getCause () | |
| getCauseMessage (&$causes) | |
| getTraceSafe () | |
| getErrorClass () | |
| getErrorMethod () | |
| __toString () | |
| toHtml () | |
| toText () | |
Public Attributes | |
| const | INVALID_ARGUMENT = 1 |
| const | MISSING_VALUE = 2 |
| const | MISCONFIGURATION = 3 |
| const | READ_ERROR = 4 |
| const | MALFORMED_RESPONSE = 10 |
| const | DECODE_ERROR = 20 |
| const | TIMEOUT = 30 |
| const | TOO_MANY_REDIRECTS = 40 |
| const | NON_HTTP_REDIRECT = 50 |
Public Attributes inherited from PEAR_Exception | |
| const | OBSERVER_PRINT = -2 |
| const | OBSERVER_TRIGGER = -4 |
| const | OBSERVER_DIE = -8 |
Private Attributes | |
| $_nativeCode | |
Additional Inherited Members | |
Static Public Member Functions inherited from PEAR_Exception | |
| static | addObserver ($callback, $label= 'default') |
| static | removeObserver ($label= 'default') |
| static | getUniqueId () |
Protected Member Functions inherited from PEAR_Exception | |
| signal () | |
Protected Attributes inherited from PEAR_Exception | |
| $cause | |
Definition at line 37 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
| __construct | ( | $message = null, |
|
$code = null, |
|||
$nativeCode = null |
|||
| ) |
Constructor, can set package error code and native error code
| string | $message | exception message |
| int | $code | package error code, one of class constants |
| int | $nativeCode | error code from underlying PHP extension |
Definition at line 72 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
| getNativeCode | ( | ) |
Returns error code produced by underlying PHP extension
For Socket Adapter this may contain error number returned by stream_socket_client(), for Curl Adapter this will contain error number returned by curl_errno()
Definition at line 87 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
References $_nativeCode.
|
private |
Definition at line 63 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by getNativeCode().
| const DECODE_ERROR = 20 |
Failure decoding Content-Encoding or Transfer-Encoding of response
Definition at line 51 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2_Response\decodeGzip(), and HTTP_Request2_Adapter_Socket\readChunked().
| const INVALID_ARGUMENT = 1 |
An invalid argument was passed to a method
Definition at line 40 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2\addCookie(), HTTP_Request2_CookieJar\checkAndUpdateFields(), HTTP_Request2\fopenWrapper(), HTTP_Request2\getConfig(), HTTP_Request2\send(), HTTP_Request2\setAdapter(), HTTP_Request2\setConfig(), HTTP_Request2\setCookieJar(), HTTP_Request2\setHeader(), HTTP_Request2\setMethod(), HTTP_Request2\setUrl(), and HTTP_Request2_Adapter_Socket\updateExpectHeader().
| const MALFORMED_RESPONSE = 10 |
Server returned a response that does not conform to HTTP protocol
Definition at line 49 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2_SOCKS5\__construct(), HTTP_Request2_Response\__construct(), HTTP_Request2_Adapter_Curl\callbackWriteBody(), and HTTP_Request2_SOCKS5\connect().
| const MISCONFIGURATION = 3 |
Request cannot be processed due to errors in PHP configuration
Definition at line 44 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2_Adapter_Socket\connect(), HTTP_Request2_Adapter_Curl\createCurlHandle(), HTTP_Request2_Response\decodeDeflate(), HTTP_Request2_Response\decodeGzip(), and HTTP_Request2_Adapter_Curl\sendRequest().
| const MISSING_VALUE = 2 |
Some required value was not available
Definition at line 42 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2_CookieJar\checkAndUpdateFields(), HTTP_Request2_Adapter_Socket\connect(), HTTP_Request2_Adapter_Curl\createCurlHandle(), and HTTP_Request2\setAdapter().
| const NON_HTTP_REDIRECT = 50 |
Redirect to a protocol other than http(s)://
Definition at line 57 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2_Adapter_Socket\handleRedirect().
| const READ_ERROR = 4 |
Error reading the local file
Definition at line 46 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2\fopenWrapper(), and HTTP_Request2_MultipartBody\read().
| const TIMEOUT = 30 |
Operation timed out
Definition at line 53 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2_SocketWrapper\checkTimeout(), HTTP_Request2_SocketWrapper\readLine(), and HTTP_Request2_Adapter_Socket\readResponse().
| const TOO_MANY_REDIRECTS = 40 |
Number of redirects exceeded 'max_redirects' configuration parameter
Definition at line 55 of file vendor/pear/http_request2/HTTP/Request2/Exception.php.
Referenced by HTTP_Request2_Adapter_Socket\handleRedirect().
1.8.3