| 1 |
CURLE_OK = 0, |
| 2 |
CURLE_UNSUPPORTED_PROTOCOL, /* 1 */ |
| 3 |
CURLE_FAILED_INIT, /* 2 */ |
| 4 |
CURLE_URL_MALFORMAT, /* 3 */ |
| 5 |
CURLE_NOT_BUILT_IN, /* 4 - [was obsoleted in August 2007 for 7.17.0, reused in April 2011 for 7.21.5] */ |
| 6 |
CURLE_COULDNT_RESOLVE_PROXY, /* 5 */ |
| 7 |
CURLE_COULDNT_RESOLVE_HOST, /* 6 */ |
| 8 |
CURLE_COULDNT_CONNECT, /* 7 */ |
| 9 |
CURLE_WEIRD_SERVER_REPLY, /* 8 */ |
| 10 |
CURLE_REMOTE_ACCESS_DENIED, /* 9 a service was denied by the server |
| 11 |
due to lack of access - when login fails |
| 12 |
this is not returned. */ |
| 13 |
CURLE_FTP_ACCEPT_FAILED, /* 10 - [was obsoleted in April 2006 for |
| 14 |
7.15.4, reused in Dec 2011 for 7.24.0]*/ |
| 15 |
CURLE_FTP_WEIRD_PASS_REPLY, /* 11 */ |
| 16 |
CURLE_FTP_ACCEPT_TIMEOUT, /* 12 - timeout occurred accepting server |
| 17 |
[was obsoleted in August 2007 for 7.17.0, |
| 18 |
reused in Dec 2011 for 7.24.0]*/ |
| 19 |
CURLE_FTP_WEIRD_PASV_REPLY, /* 13 */ |
| 20 |
CURLE_FTP_WEIRD_227_FORMAT, /* 14 */ |
| 21 |
CURLE_FTP_CANT_GET_HOST, /* 15 */ |
| 22 |
CURLE_HTTP2, /* 16 - A problem in the http2 framing layer. |
| 23 |
[was obsoleted in August 2007 for 7.17.0, |
| 24 |
reused in July 2014 for 7.38.0] */ |
| 25 |
CURLE_FTP_COULDNT_SET_TYPE, /* 17 */ |
| 26 |
CURLE_PARTIAL_FILE, /* 18 */ |
| 27 |
CURLE_FTP_COULDNT_RETR_FILE, /* 19 */ |
| 28 |
CURLE_OBSOLETE20, /* 20 - NOT USED */ |
| 29 |
CURLE_QUOTE_ERROR, /* 21 - quote command failure */ |
| 30 |
CURLE_HTTP_RETURNED_ERROR, /* 22 */ |
| 31 |
CURLE_WRITE_ERROR, /* 23 */ |
| 32 |
CURLE_OBSOLETE24, /* 24 - NOT USED */ |
| 33 |
CURLE_UPLOAD_FAILED, /* 25 - failed upload "command" */ |
| 34 |
CURLE_READ_ERROR, /* 26 - could not open/read from file */ |
| 35 |
CURLE_OUT_OF_MEMORY, /* 27 */ |
| 36 |
CURLE_OPERATION_TIMEDOUT, /* 28 - the timeout time was reached */ |
| 37 |
CURLE_OBSOLETE29, /* 29 - NOT USED */ |
| 38 |
CURLE_FTP_PORT_FAILED, /* 30 - FTP PORT operation failed */ |
| 39 |
CURLE_FTP_COULDNT_USE_REST, /* 31 - the REST command failed */ |
| 40 |
CURLE_OBSOLETE32, /* 32 - NOT USED */ |
| 41 |
CURLE_RANGE_ERROR, /* 33 - RANGE "command" did not work */ |
| 42 |
CURLE_HTTP_POST_ERROR, /* 34 */ |
| 43 |
CURLE_SSL_CONNECT_ERROR, /* 35 - wrong when connecting with SSL */ |
| 44 |
CURLE_BAD_DOWNLOAD_RESUME, /* 36 - could not resume download */ |
| 45 |
CURLE_FILE_COULDNT_READ_FILE, /* 37 */ |
| 46 |
CURLE_LDAP_CANNOT_BIND, /* 38 */ |
| 47 |
CURLE_LDAP_SEARCH_FAILED, /* 39 */ |
| 48 |
CURLE_OBSOLETE40, /* 40 - NOT USED */ |
| 49 |
CURLE_FUNCTION_NOT_FOUND, /* 41 - NOT USED starting with 7.53.0 */ |
| 50 |
CURLE_ABORTED_BY_CALLBACK, /* 42 */ |
| 51 |
CURLE_BAD_FUNCTION_ARGUMENT, /* 43 */ |
| 52 |
CURLE_OBSOLETE44, /* 44 - NOT USED */ |
| 53 |
CURLE_INTERFACE_FAILED, /* 45 - CURLOPT_INTERFACE failed */ |
| 54 |
CURLE_OBSOLETE46, /* 46 - NOT USED */ |
| 55 |
CURLE_TOO_MANY_REDIRECTS, /* 47 - catch endless re-direct loops */ |
| 56 |
CURLE_UNKNOWN_OPTION, /* 48 - User specified an unknown option */ |
| 57 |
CURLE_SETOPT_OPTION_SYNTAX, /* 49 - Malformed setopt option */ |
| 58 |
CURLE_OBSOLETE50, /* 50 - NOT USED */ |
| 59 |
CURLE_PEER_FAILED_VERIFICATION, /* 51 - NOT USED */ |
| 60 |
CURLE_GOT_NOTHING, /* 52 - when this is a specific error */ |
| 61 |
CURLE_SSL_ENGINE_NOTFOUND, /* 53 - SSL crypto engine not found */ |
| 62 |
CURLE_SSL_ENGINE_SETFAILED, /* 54 - can not set SSL crypto engine as |
| 63 |
default */ |
| 64 |
CURLE_SEND_ERROR, /* 55 - failed sending network data */ |
| 65 |
CURLE_RECV_ERROR, /* 56 - failure in receiving network data */ |
| 66 |
CURLE_OBSOLETE57, /* 57 - NOT IN USE */ |
| 67 |
CURLE_SSL_CERTPROBLEM, /* 58 - problem with the local certificate */ |
| 68 |
CURLE_SSL_CIPHER, /* 59 - could not use specified cipher */ |
| 69 |
CURLE_PEER_FAILED_VERIFICATION, /* 60 - peer's certificate or fingerprint |
| 70 |
was not verified fine */ |
| 71 |
CURLE_BAD_CONTENT_ENCODING, /* 61 - Unrecognized/bad encoding */ |
| 72 |
CURLE_LDAP_INVALID_URL, /* 62 - NOT IN USE since 7.82.0 */ |
| 73 |
CURLE_FILESIZE_EXCEEDED, /* 63 - Maximum file size exceeded */ |
| 74 |
CURLE_USE_SSL_FAILED, /* 64 - Requested FTP SSL level failed */ |
| 75 |
CURLE_SEND_FAIL_REWIND, /* 65 - Sending the data requires a rewind |
| 76 |
that failed */ |
| 77 |
CURLE_SSL_ENGINE_INITFAILED, /* 66 - failed to initialise ENGINE */ |
| 78 |
CURLE_LOGIN_DENIED, /* 67 - user, password or similar was not |
| 79 |
accepted and we failed to login */ |
| 80 |
CURLE_TFTP_NOTFOUND, /* 68 - file not found on server */ |
| 81 |
CURLE_TFTP_PERM, /* 69 - permission problem on server */ |
| 82 |
CURLE_REMOTE_DISK_FULL, /* 70 - out of disk space on server */ |
| 83 |
CURLE_TFTP_ILLEGAL, /* 71 - Illegal TFTP operation */ |
| 84 |
CURLE_TFTP_UNKNOWNID, /* 72 - Unknown transfer ID */ |
| 85 |
CURLE_REMOTE_FILE_EXISTS, /* 73 - File already exists */ |
| 86 |
CURLE_TFTP_NOSUCHUSER, /* 74 - No such user */ |
| 87 |
CURLE_CONV_FAILED, /* 75 - NOT IN USE since 7.82.0 */ |
| 88 |
CURLE_CONV_REQD, /* 76 - NOT IN USE since 7.82.0 */ |
| 89 |
CURLE_SSL_CACERT_BADFILE, /* 77 - could not load CACERT file, missing |
| 90 |
or wrong format */ |
| 91 |
CURLE_REMOTE_FILE_NOT_FOUND, /* 78 - remote file not found */ |
| 92 |
CURLE_SSH, /* 79 - error from the SSH layer, somewhat |
| 93 |
generic so the error message will be of |
| 94 |
interest when this has happened */ |
| 95 |
|
| 96 |
CURLE_SSL_SHUTDOWN_FAILED, /* 80 - Failed to shut down the SSL |
| 97 |
connection */ |
| 98 |
CURLE_AGAIN, /* 81 - socket is not ready for send/recv, |
| 99 |
wait till it is ready and try again (Added |
| 100 |
in 7.18.2) */ |
| 101 |
CURLE_SSL_CRL_BADFILE, /* 82 - could not load CRL file, missing or |
| 102 |
wrong format (Added in 7.19.0) */ |
| 103 |
CURLE_SSL_ISSUER_ERROR, /* 83 - Issuer check failed. (Added in |
| 104 |
7.19.0) */ |
| 105 |
CURLE_FTP_PRET_FAILED, /* 84 - a PRET command failed */ |
| 106 |
CURLE_RTSP_CSEQ_ERROR, /* 85 - mismatch of RTSP CSeq numbers */ |
| 107 |
CURLE_RTSP_SESSION_ERROR, /* 86 - mismatch of RTSP Session Ids */ |
| 108 |
CURLE_FTP_BAD_FILE_LIST, /* 87 - unable to parse FTP file list */ |
| 109 |
CURLE_CHUNK_FAILED, /* 88 - chunk callback reported error */ |
| 110 |
CURLE_NO_CONNECTION_AVAILABLE, /* 89 - No connection available, the |
| 111 |
session will be queued */ |
| 112 |
CURLE_SSL_PINNEDPUBKEYNOTMATCH, /* 90 - specified pinned public key did not |
| 113 |
match */ |
| 114 |
CURLE_SSL_INVALIDCERTSTATUS, /* 91 - invalid certificate status */ |
| 115 |
CURLE_HTTP2_STREAM, /* 92 - stream error in HTTP/2 framing layer |
| 116 |
*/ |
| 117 |
CURLE_RECURSIVE_API_CALL, /* 93 - an api function was called from |
| 118 |
inside a callback */ |
| 119 |
CURLE_AUTH_ERROR, /* 94 - an authentication function returned an |
| 120 |
error */ |
| 121 |
CURLE_HTTP3, /* 95 - An HTTP/3 layer problem */ |
| 122 |
CURLE_QUIC_CONNECT_ERROR, /* 96 - QUIC connection error */ |
| 123 |
CURLE_PROXY, /* 97 - proxy handshake error */ |
| 124 |
CURLE_SSL_CLIENTCERT, /* 98 - client-side certificate required */ |
| 125 |
CURLE_UNRECOVERABLE_POLL, /* 99 - poll/select returned fatal error */ |
| 126 |
CURLE_TOO_LARGE, /* 100 - a value/data met its maximum */ |
| 127 |
CURLE_ECH_REQUIRED, /* 101 - ECH tried but failed */ |
| 128 |
CURL_LAST /* never use! */ |