curl_error Return a string containing the last error for the current session &reftitle.description; stringcurl_error resourcech Returns a clear text error message for the last cURL operation. &reftitle.parameters; &curl.ch.description; &reftitle.returnvalues; Returns the error message or '' (the empty string) if no error occurred. &reftitle.examples; <function>curl_error</function> example ]]> &reftitle.seealso; curl_errno Curl error codes