curl_error

 string curl_error ( resource $ch ) 

説明

Returns a clear text error message for the last cURL operation.

戻り値

Returns the error message or '' (the empty string) if no error occurred.