| Enumerator |
|---|
| LRE_OK | (0) everything is ok
|
| LRE_BADFUNCARG | (1) bad function argument
|
| LRE_BADOPTARG | (2) bad argument of the option
|
| LRE_UNKNOWNOPT | (3) library doesn't know the option
|
| LRE_CURLSETOPT | (4) cURL doesn't know the option. Too old curl version?
|
| LRE_ALREADYUSEDRESULT | (5) LrResult object is not clean
|
| LRE_INCOMPLETERESULT | (6) LrResult doesn't contain all what is needed
|
| LRE_CURLDUP | (7) cannot duplicate curl handle
|
| LRE_CURL | (8) cURL error
|
| LRE_CURLM | (9) cULR multi handle error
|
| LRE_BADSTATUS | (10) HTTP or FTP returned status code which do not represent success (file doesn't exists, etc.)
|
| LRE_TEMPORARYERR | (11) some error that should be temporary and next try could work (HTTP status codes 500, 502-504, operation timeout, ...)
|
| LRE_NOTLOCAL | (12) URL is not a local address
|
| LRE_CANNOTCREATEDIR | (13) cannot create a directory in output dir (already exists?)
|
| LRE_IO | (14) input output error
|
| LRE_MLBAD | (15) bad mirrorlist/metalink file (metalink doesn't contain needed file, mirrorlist doesn't contain urls, ..)
|
| LRE_MLXML | (16) metalink XML parse error
|
| LRE_BADCHECKSUM | (17) bad checksum
|
| LRE_REPOMDXML | (18) repomd XML parse error
|
| LRE_NOURL | (19) usable URL not found
|
| LRE_CANNOTCREATETMP | (20) cannot create tmp directory
|
| LRE_UNKNOWNCHECKSUM | (21) unknown type of checksum is needed for verification
|
| LRE_BADURL | (22) bad URL specified
|
| LRE_GPGNOTSUPPORTED | (23) OpenPGP protocol is not supported
|
| LRE_GPGERROR | (24) GPGME related error
|
| LRE_BADGPG | (25) Bad GPG signature
|
| LRE_INCOMPLETEREPO | (26) Repository metadata are not complete
|
| LRE_INTERRUPTED | (27) Download was interrupted by signal. Only if LRO_INTERRUPTIBLE option is enabled.
|
| LRE_SIGACTION | (28) sigaction error
|
| LRE_ALREADYDOWNLOADED | (29) File already exists and checksum is ok.
|
| LRE_UNFINISHED | (30) The download wasn't or cannot be finished.
|
| LRE_SELECT | (31) select() call failed.
|
| LRE_OPENSSL | (32) OpenSSL library related error.
|
| LRE_MEMORY | (33) Cannot allocate more memory
|
| LRE_XMLPARSER | (34) XML parser error
|
| LRE_CBINTERRUPTED | (35) Interrupted by user cb
|
| LRE_REPOMD | (36) Error with repomd (bad content, missing expected values, ...)
|
| LRE_VALUE | (37) Bad value (e.g. we are expecting bandwidth defined like '1024', '1k', etc., but we got something like 'asdf', '1024S', etc.)
|
| LRE_NOTSET | (38) Requested option/value is not set. Used for example in lr_yum_repoconf_getinfo()
|
| LRE_FILE | (39) File operation error (operation not permitted, filename too long, no memory available, bad file descriptor, ...)
|
| LRE_KEYFILE | (40) Key file error (unknown encoding, ill-formed, file not found, key/group not found, ...)
|
| LRE_ZCK | (41) Zchunk error (error reading zchunk file, ...)
|
| LRE_UNKNOWNERROR | (xx) unknown error - sentinel of error codes enum
|