Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ExceptionCodeDescriptionStatus
NETCURL_NO_ERROR0No errors occured. False alarm
NETCURL_EXCEPTION_IT_WORKS1You've triggered a test exception somewhere
NETCURL_CURL_MISSING1000curl is missing in your system

Status
titleremoved

NETCURL_SETFLAG_KEY_EMPTY1001When using the netcurl method setFlag($keyName, $keyValue) and $keyName has no value
NETCURL_COOKIEPATH_SETUP_FAIL1002When paths for setting cookie files can not be set due to permissions or similar

Status
titleremoved

NETCURL_IPCONFIG_NOT_VALID1003When configuring outgoing ip address for calls, and the address can not be identified neither as IPv4 nor IPv6
NETCURL_SETSSLVERIFY_UNVERIFIED_NOT_SET1004In prior versions of NetCurl, some parameters for SSL verification could not be set unless another flag was enabled

Status
titleremoved

NETCURL_DOMDOCUMENT_CLASS_MISSING1005Drivers for document tree in PHP is missing
NETCURL_GETPARSEDVALUE_KEY_NOT_FOUND1006Occurs when getParsedValue is used without a $keyName (recursion error)
NETCURL_SOAPCLIENT_CLASS_MISSING1007Using SOAP without the SoapClient installed
NETCURL_SIMPLESOAP_GETSOAP_CREATE_FAIL1008When SoapClient could not be initialized for an unknown reason (occurs after possible failover tries)
NETCURL_WP_TRANSPORT_ERROR1009Occurs on external driver initializiation, when no transport layer has been found (curl or streams)
NETCURL_CURL_DISABLED1010Having curl disabled when checking for external drivers (deprecated as of 6.0.20)

Status
titleremoved

NETCURL_NOCOMM_DRIVER1011When no communications driver exists (deprecated as of 6.0.20)

Status
titleremoved

NETCURL_EXTERNAL_DRIVER_MISSING1012Was used in driver initialization (6.0.19 or lower) when failover to guzzleStream failed

Status
titleremoved

NETCURL_GUZZLESTREAM_MISSING1013Occurs during the call in guzzleDriver, when the method request in the worker was not found


NETCURL_HOSTVALIDATION_FAIL1014Occurs during extraction of url domain and the DNS resolved fails to look up an extracted hostname
NETCURL_PEMLOCATIONDATA_FORMAT_ERROR1015Occurs when SSL pem locations are misconfigured
NETCURL_DOMDOCUMENT_EMPTY1016When a domdocument is empty (seems to be unused)
NETCURL_NO_DRIVER_AVAILABLE_NOT_EVEN_CURL1017Trying to initialize NetCurl without any communications driver ("not even curl")

NETCURL_UNEXISTENT_FUNCTION

1018Reserved for future use (when a __call can't find a proper method to fire up

NETCURL_PARSE_XML_FAILURE

1019This usually happens when you're using older versions of NetCURL or where the IO library is not installed (composer should handle this). In NetCURL 6.0.20, XML rendering is being made from this library