CURL_ERROR
Return a string containing the last error for the current session
SYNTAX
curl_error ( resource $ch ) : string
PARAMETERS
ch
A cURL handle returned by curl_init().
RETURN
Returns the error message or '' (the empty string) if no error occurred.
EXAMPLES
1
Could not resolve host: nonexistent.osbo.com
2
Could not resolve host: nonexistent.osbo.com