Lines Matching defs:error
31 # error "strerror_r MUST be either POSIX, glibc style"
56 curl_easy_strerror(CURLcode error)
59 switch(error) {
61 return "No error";
125 return "Quote command returned error";
128 return "HTTP response code said error";
158 return "SSL connect error";
281 return "RTSP session error";
299 return "Stream error in the HTTP/2 framing layer";
305 return "An authentication function returned an error";
308 return "HTTP/3 error";
311 return "QUIC connection error";
314 return "proxy handshake error";
320 return "Unrecoverable error in select/poll";
325 /* error codes not used by current libcurl */
353 * The line number for the error will be near this comment, which
356 return "Unknown error";
358 if(!error)
359 return "No error";
366 curl_multi_strerror(CURLMcode error)
369 switch(error) {
374 return "No error";
386 return "Internal error";
410 return "Unrecoverable error in select/poll";
416 return "Unknown error";
418 if(error == CURLM_OK)
419 return "No error";
426 curl_share_strerror(CURLSHcode error)
429 switch(error) {
431 return "No error";
454 if(error == CURLSHE_OK)
455 return "No error";
462 curl_url_strerror(CURLUcode error)
465 switch(error) {
467 return "No error";
485 return "URL decode error, most likely because of rubbish in the input";
568 if(error == CURLUE_OK)
569 return "No error";
576 /* This is a helper function for Curl_strerror that converts Winsock error
577 * codes (WSAGetLastError) to error messages.
578 * Returns NULL if no error message was found for error code.
723 p = "Remote error";
754 p = "Unrecoverable error in call to nameserver";
774 /* This is a helper function for Curl_strerror that converts Windows API error
775 * codes (GetLastError) to error messages.
776 * Returns NULL if no error message was found for error code.
790 /* We return the local codepage version of the error string because if it is
828 * On Windows different types of error codes overlap. This function has an
829 * order of preference when trying to match error codes:
833 * Call Curl_sspi_strerror if the error code is definitely Windows SSPI.
834 * Call Curl_winapi_strerror if the error code is definitely Windows API.
866 msnprintf(buf, buflen, "Unknown error %d (%#x)", err, err);
874 * message string, or EINVAL if 'errnum' is not a valid error number.
878 msnprintf(buf, buflen, "Unknown error %d", err);
883 * the function, but it always returns the error message as a pointer,
892 msnprintf(buf, buflen, "Unknown error %d", err);
901 msnprintf(buf, buflen, "Unknown error %d", err);
928 * Variant of Curl_strerror if the error code is definitely Windows API.
945 msnprintf(buf, buflen, "Unknown error %lu (0x%08lX)", err, err);
949 const char *txt = (err == ERROR_SUCCESS) ? "No error" : "Error";
970 * Variant of Curl_strerror if the error code is definitely Windows SSPI.
989 txt = "No error";
1077 txt = "Unknown error";
1082 "SEC_E_ILLEGAL_MESSAGE (0x%08X) - This error usually occurs "
1097 txt = "No error";