Enum alpm_sys::_alpm_errno_t
source · #[repr(u32)]pub enum _alpm_errno_t {
Show 55 variants
ALPM_ERR_OK = 0,
ALPM_ERR_MEMORY = 1,
ALPM_ERR_SYSTEM = 2,
ALPM_ERR_BADPERMS = 3,
ALPM_ERR_NOT_A_FILE = 4,
ALPM_ERR_NOT_A_DIR = 5,
ALPM_ERR_WRONG_ARGS = 6,
ALPM_ERR_DISK_SPACE = 7,
ALPM_ERR_HANDLE_NULL = 8,
ALPM_ERR_HANDLE_NOT_NULL = 9,
ALPM_ERR_HANDLE_LOCK = 10,
ALPM_ERR_DB_OPEN = 11,
ALPM_ERR_DB_CREATE = 12,
ALPM_ERR_DB_NULL = 13,
ALPM_ERR_DB_NOT_NULL = 14,
ALPM_ERR_DB_NOT_FOUND = 15,
ALPM_ERR_DB_INVALID = 16,
ALPM_ERR_DB_INVALID_SIG = 17,
ALPM_ERR_DB_VERSION = 18,
ALPM_ERR_DB_WRITE = 19,
ALPM_ERR_DB_REMOVE = 20,
ALPM_ERR_SERVER_BAD_URL = 21,
ALPM_ERR_SERVER_NONE = 22,
ALPM_ERR_TRANS_NOT_NULL = 23,
ALPM_ERR_TRANS_NULL = 24,
ALPM_ERR_TRANS_DUP_TARGET = 25,
ALPM_ERR_TRANS_DUP_FILENAME = 26,
ALPM_ERR_TRANS_NOT_INITIALIZED = 27,
ALPM_ERR_TRANS_NOT_PREPARED = 28,
ALPM_ERR_TRANS_ABORT = 29,
ALPM_ERR_TRANS_TYPE = 30,
ALPM_ERR_TRANS_NOT_LOCKED = 31,
ALPM_ERR_TRANS_HOOK_FAILED = 32,
ALPM_ERR_PKG_NOT_FOUND = 33,
ALPM_ERR_PKG_IGNORED = 34,
ALPM_ERR_PKG_INVALID = 35,
ALPM_ERR_PKG_INVALID_CHECKSUM = 36,
ALPM_ERR_PKG_INVALID_SIG = 37,
ALPM_ERR_PKG_MISSING_SIG = 38,
ALPM_ERR_PKG_OPEN = 39,
ALPM_ERR_PKG_CANT_REMOVE = 40,
ALPM_ERR_PKG_INVALID_NAME = 41,
ALPM_ERR_PKG_INVALID_ARCH = 42,
ALPM_ERR_SIG_MISSING = 43,
ALPM_ERR_SIG_INVALID = 44,
ALPM_ERR_UNSATISFIED_DEPS = 45,
ALPM_ERR_CONFLICTING_DEPS = 46,
ALPM_ERR_FILE_CONFLICTS = 47,
ALPM_ERR_RETRIEVE = 48,
ALPM_ERR_INVALID_REGEX = 49,
ALPM_ERR_LIBARCHIVE = 50,
ALPM_ERR_LIBCURL = 51,
ALPM_ERR_EXTERNAL_DOWNLOAD = 52,
ALPM_ERR_GPGME = 53,
ALPM_ERR_MISSING_CAPABILITY_SIGNATURES = 54,
}
Expand description
libalpm’s error type
Variants§
ALPM_ERR_OK = 0
No error
ALPM_ERR_MEMORY = 1
Failed to allocate memory
ALPM_ERR_SYSTEM = 2
A system error occurred
ALPM_ERR_BADPERMS = 3
Permmision denied
ALPM_ERR_NOT_A_FILE = 4
Should be a file
ALPM_ERR_NOT_A_DIR = 5
Should be a directory
ALPM_ERR_WRONG_ARGS = 6
Function was called with invalid arguments
ALPM_ERR_DISK_SPACE = 7
Insufficient disk space
ALPM_ERR_HANDLE_NULL = 8
Handle should be null
ALPM_ERR_HANDLE_NOT_NULL = 9
Handle should not be null
ALPM_ERR_HANDLE_LOCK = 10
Failed to acquire lock
ALPM_ERR_DB_OPEN = 11
Failed to open database
ALPM_ERR_DB_CREATE = 12
Failed to create database
ALPM_ERR_DB_NULL = 13
Database should not be null
ALPM_ERR_DB_NOT_NULL = 14
Database should be null
ALPM_ERR_DB_NOT_FOUND = 15
The database could not be found
ALPM_ERR_DB_INVALID = 16
Database is invalid
ALPM_ERR_DB_INVALID_SIG = 17
Database has an invalid signature
ALPM_ERR_DB_VERSION = 18
The localdb is in a newer/older format than libalpm expects
ALPM_ERR_DB_WRITE = 19
Failed to write to the database
ALPM_ERR_DB_REMOVE = 20
Failed to remove entry from database
ALPM_ERR_SERVER_BAD_URL = 21
Server URL is in an invalid format
ALPM_ERR_SERVER_NONE = 22
The database has no configured servers
ALPM_ERR_TRANS_NOT_NULL = 23
A transaction is already initialized
ALPM_ERR_TRANS_NULL = 24
A transaction has not been initialized
ALPM_ERR_TRANS_DUP_TARGET = 25
Duplicate target in transaction
ALPM_ERR_TRANS_DUP_FILENAME = 26
Duplicate filename in transaction
ALPM_ERR_TRANS_NOT_INITIALIZED = 27
A transaction has not been initialized
ALPM_ERR_TRANS_NOT_PREPARED = 28
Transaction has not been prepared
ALPM_ERR_TRANS_ABORT = 29
Transaction was aborted
ALPM_ERR_TRANS_TYPE = 30
Failed to interrupt transaction
ALPM_ERR_TRANS_NOT_LOCKED = 31
Tried to commit transaction without locking the database
ALPM_ERR_TRANS_HOOK_FAILED = 32
A hook failed to run
ALPM_ERR_PKG_NOT_FOUND = 33
Package not found
ALPM_ERR_PKG_IGNORED = 34
Package is in ignorepkg
ALPM_ERR_PKG_INVALID = 35
Package is invalid
ALPM_ERR_PKG_INVALID_CHECKSUM = 36
Package has an invalid checksum
ALPM_ERR_PKG_INVALID_SIG = 37
Package has an invalid signature
ALPM_ERR_PKG_MISSING_SIG = 38
Package does not have a signature
ALPM_ERR_PKG_OPEN = 39
Cannot open the package file
ALPM_ERR_PKG_CANT_REMOVE = 40
Failed to remove package files
ALPM_ERR_PKG_INVALID_NAME = 41
Package has an invalid name
ALPM_ERR_PKG_INVALID_ARCH = 42
Package has an invalid architecture
ALPM_ERR_SIG_MISSING = 43
Signatures are missing
ALPM_ERR_SIG_INVALID = 44
Signatures are invalid
ALPM_ERR_UNSATISFIED_DEPS = 45
Dependencies could not be satisfied
ALPM_ERR_CONFLICTING_DEPS = 46
Conflicting dependencies
ALPM_ERR_FILE_CONFLICTS = 47
Files conflict
ALPM_ERR_RETRIEVE = 48
Download failed
ALPM_ERR_INVALID_REGEX = 49
Invalid Regex
ALPM_ERR_LIBARCHIVE = 50
Error in libarchive
ALPM_ERR_LIBCURL = 51
Error in libcurl
ALPM_ERR_EXTERNAL_DOWNLOAD = 52
Error in external download program
ALPM_ERR_GPGME = 53
Error in gpgme
ALPM_ERR_MISSING_CAPABILITY_SIGNATURES = 54
Missing compile-time features
Trait Implementations§
source§impl Clone for _alpm_errno_t
impl Clone for _alpm_errno_t
source§fn clone(&self) -> _alpm_errno_t
fn clone(&self) -> _alpm_errno_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for _alpm_errno_t
impl Debug for _alpm_errno_t
source§impl Hash for _alpm_errno_t
impl Hash for _alpm_errno_t
source§impl PartialEq for _alpm_errno_t
impl PartialEq for _alpm_errno_t
source§fn eq(&self, other: &_alpm_errno_t) -> bool
fn eq(&self, other: &_alpm_errno_t) -> bool
self
and other
values to be equal, and is used
by ==
.