Enum libalpm::Error
[−]
[src]
pub enum Error { Memory, System, BadPerms, NotAFile, NotADir, WrongArgs, DiskSpace, HandleNull, HandleNotNull, HandleLock, DbOpen, DbCreate, DbNull, DbNotNull, DbNotFound, DbInvalid, DbInvalidSig, DbVersion, DbWrite, DbRemove, ServerBadUrl, ServerNone, TransNotNull, TransNull, TransDupTarget, TransNotInitialized, TransNotPrepared, TransAbort, TransType, TransNotLocked, TransHookFailed, PkgNotFound, PkgIgnored, PkgInvalid, PkgInvalidChecksum, PkgInvalidSig, PkgMissingSig, PkgOpen, PkgCantRemove, PkgInvalidName, PkgInvalidArch, PkgRepoNotFound, SigMissing, SigInvalid, DltInvalid, DltPatchFailed, UnsatisfiedDeps, ConflictingDeps, FileConflicts, Retrieve, InvalidRegex, Libarchive, Libcurl, Gpgme, ExternalDownload, IO, StrNull, Utf8Error, __Unknown, }
An enum of possible errors in libalpm
Variants
Memory
out of memory!
System
unexpected system error
BadPerms
permission denied
NotAFile
could not find or read file
NotADir
could not find or read directory
WrongArgs
wrong or NULL argument passed
DiskSpace
not enough free disk space
HandleNull
library not initialized
HandleNotNull
library already initialized
HandleLock
unable to lock database
DbOpen
could not open database
DbCreate
could not create database
DbNull
database not initialized
DbNotNull
database already registered
DbNotFound
could not find database
DbInvalid
invalid or corrupted database
DbInvalidSig
invalid or corrupted database (PGP signature)
DbVersion
database is incorrect version
DbWrite
could not update database
DbRemove
could not remove database entry
ServerBadUrl
invalid url for server
ServerNone
no servers configured for repository
TransNotNull
transaction already initialized
TransNull
transaction not initialized
TransDupTarget
duplicate target
TransNotInitialized
transaction not initialized
TransNotPrepared
transaction not prepared
TransAbort
transaction aborted
TransType
operation not compatible with the transaction type
TransNotLocked
transaction commit attempt when database is not locked
TransHookFailed
failed to run transaction hooks
PkgNotFound
could not find or read package
PkgIgnored
operation cancelled due to ignorepkg
PkgInvalid
invalid or corrupted package
PkgInvalidChecksum
invalid or corrupted package (checksum)
PkgInvalidSig
invalid or corrupted package (PGP signature)
PkgMissingSig
package missing required signature
PkgOpen
cannot open package file
PkgCantRemove
cannot remove all files for package
PkgInvalidName
package filename is not valid
PkgInvalidArch
package architecture is not valid
PkgRepoNotFound
could not find repository for target
SigMissing
missing PGP signature
SigInvalid
invalid PGP signature
DltInvalid
invalid or corrupted delta
DltPatchFailed
delta patch failed
UnsatisfiedDeps
could not satisfy dependencies
ConflictingDeps
conflicting dependencies
FileConflicts
conflicting files
Retrieve
failed to retrieve some files
InvalidRegex
invalid regular expression
Libarchive
libarchive error
Libcurl
download library error
Gpgme
gpgme error
ExternalDownload
error invoking external downloader
IO
io error
StrNull
null string error
Utf8Error
utf8 decode error
__Unknown
unknown error
Trait Implementations
impl Debug for Error
[src]
impl Copy for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more