quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

_EXITCODES.md (6347B)


      1 <!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
      2 <!-- SPDX-License-Identifier: curl -->
      3 # EXIT CODES
      4 There are a bunch of different error codes and their corresponding error
      5 messages that may appear under error conditions. At the time of this writing,
      6 the exit codes are:
      7 ## 0
      8 Success. The operation completed successfully according to the instructions.
      9 ## 1
     10 Unsupported protocol. This build of curl has no support for this protocol.
     11 ## 2
     12 Failed to initialize.
     13 ## 3
     14 URL malformed. The syntax was not correct.
     15 ## 4
     16 A feature or option that was needed to perform the desired request was not
     17 enabled or was explicitly disabled at build-time. To make curl able to do
     18 this, you probably need another build of libcurl.
     19 ## 5
     20 Could not resolve proxy. The given proxy host could not be resolved.
     21 ## 6
     22 Could not resolve host. The given remote host could not be resolved.
     23 ## 7
     24 Failed to connect to host.
     25 ## 8
     26 Weird server reply. The server sent data curl could not parse.
     27 ## 9
     28 FTP access denied. The server denied login or denied access to the particular
     29 resource or directory you wanted to reach. Most often you tried to change to a
     30 directory that does not exist on the server.
     31 ## 10
     32 FTP accept failed. While waiting for the server to connect back when an active
     33 FTP session is used, an error code was sent over the control connection or
     34 similar.
     35 ## 11
     36 FTP weird PASS reply. curl could not parse the reply sent to the PASS request.
     37 ## 12
     38 During an active FTP session while waiting for the server to connect back to
     39 curl, the timeout expired.
     40 ## 13
     41 FTP weird PASV reply, curl could not parse the reply sent to the PASV request.
     42 ## 14
     43 FTP weird 227 format. curl could not parse the 227-line the server sent.
     44 ## 15
     45 FTP cannot use host. Could not resolve the host IP we got in the 227-line.
     46 ## 16
     47 HTTP/2 error. A problem was detected in the HTTP2 framing layer. This is
     48 somewhat generic and can be one out of several problems, see the error message
     49 for details.
     50 ## 17
     51 FTP could not set binary. Could not change transfer method to binary.
     52 ## 18
     53 Partial file. Only a part of the file was transferred.
     54 ## 19
     55 FTP could not download/access the given file, the RETR (or similar) command
     56 failed.
     57 ## 21
     58 FTP quote error. A quote command returned error from the server.
     59 ## 22
     60 HTTP page not retrieved. The requested URL was not found or returned another
     61 error with the HTTP error code being 400 or above. This return code only
     62 appears if --fail is used.
     63 ## 23
     64 Write error. curl could not write data to a local filesystem or similar.
     65 ## 25
     66 Failed starting the upload. For FTP, the server typically denied the STOR
     67 command.
     68 ## 26
     69 Read error. Various reading problems.
     70 ## 27
     71 Out of memory. A memory allocation request failed.
     72 ## 28
     73 Operation timeout. The specified time-out period was reached according to the
     74 conditions.
     75 ## 30
     76 FTP PORT failed. The PORT command failed. Not all FTP servers support the PORT
     77 command, try doing a transfer using PASV instead.
     78 ## 31
     79 FTP could not use REST. The REST command failed. This command is used for
     80 resumed FTP transfers.
     81 ## 33
     82 HTTP range error. The range "command" did not work.
     83 ## 34
     84 HTTP post error. Internal post-request generation error.
     85 ## 35
     86 SSL connect error. The SSL handshaking failed.
     87 ## 36
     88 Bad download resume. Could not continue an earlier aborted download.
     89 ## 37
     90 FILE could not read file. Failed to open the file. Permissions?
     91 ## 38
     92 LDAP cannot bind. LDAP bind operation failed.
     93 ## 39
     94 LDAP search failed.
     95 ## 41
     96 Function not found. A required LDAP function was not found.
     97 ## 42
     98 Aborted by callback. An application told curl to abort the operation.
     99 ## 43
    100 Internal error. A function was called with a bad parameter.
    101 ## 45
    102 Interface error. A specified outgoing interface could not be used.
    103 ## 47
    104 Too many redirects. When following redirects, curl hit the maximum amount.
    105 ## 48
    106 Unknown option specified to libcurl. This indicates that you passed a weird
    107 option to curl that was passed on to libcurl and rejected. Read up in the
    108 manual.
    109 ## 49
    110 Malformed telnet option.
    111 ## 52
    112 The server did not reply anything, which here is considered an error.
    113 ## 53
    114 SSL crypto engine not found.
    115 ## 54
    116 Cannot set SSL crypto engine as default.
    117 ## 55
    118 Failed sending network data.
    119 ## 56
    120 Failure in receiving network data.
    121 ## 58
    122 Problem with the local certificate.
    123 ## 59
    124 Could not use specified SSL cipher.
    125 ## 60
    126 Peer certificate cannot be authenticated with known CA certificates.
    127 ## 61
    128 Unrecognized transfer encoding.
    129 ## 63
    130 Maximum file size exceeded.
    131 ## 64
    132 Requested FTP SSL level failed.
    133 ## 65
    134 Sending the data requires a rewind that failed.
    135 ## 66
    136 Failed to initialize SSL Engine.
    137 ## 67
    138 The username, password, or similar was not accepted and curl failed to log in.
    139 ## 68
    140 File not found on TFTP server.
    141 ## 69
    142 Permission problem on TFTP server.
    143 ## 70
    144 Out of disk space on TFTP server.
    145 ## 71
    146 Illegal TFTP operation.
    147 ## 72
    148 Unknown TFTP transfer ID.
    149 ## 73
    150 File already exists (TFTP).
    151 ## 74
    152 No such user (TFTP).
    153 ## 77
    154 Problem reading the SSL CA cert (path? access rights?).
    155 ## 78
    156 The resource referenced in the URL does not exist.
    157 ## 79
    158 An unspecified error occurred during the SSH session.
    159 ## 80
    160 Failed to shut down the SSL connection.
    161 ## 82
    162 Could not load CRL file, missing or wrong format (added in 7.19.0).
    163 ## 83
    164 Issuer check failed (added in 7.19.0).
    165 ## 84
    166 The FTP PRET command failed.
    167 ## 85
    168 Mismatch of RTSP CSeq numbers.
    169 ## 86
    170 Mismatch of RTSP Session Identifiers.
    171 ## 87
    172 Unable to parse FTP file list.
    173 ## 88
    174 FTP chunk callback reported error.
    175 ## 89
    176 No connection available, the session is queued.
    177 ## 90
    178 SSL public key does not match pinned public key.
    179 ## 91
    180 Invalid SSL certificate status.
    181 ## 92
    182 Stream error in HTTP/2 framing layer.
    183 ## 93
    184 An API function was called from inside a callback.
    185 ## 94
    186 An authentication function returned an error.
    187 ## 95
    188 A problem was detected in the HTTP/3 layer. This is somewhat generic and can
    189 be one out of several problems, see the error message for details.
    190 ## 96
    191 QUIC connection error. This error may be caused by an SSL library error. QUIC
    192 is the protocol used for HTTP/3 transfers.
    193 ## 97
    194 Proxy handshake error.
    195 ## 98
    196 A client-side certificate is required to complete the TLS handshake.
    197 ## 99
    198 Poll or select returned fatal error.
    199 ## 100
    200 A value or data field grew larger than allowed.
    201 ## XX
    202 More error codes might appear here in future releases. The existing ones are
    203 meant to never change.