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

out of memory!

unexpected system error

permission denied

could not find or read file

could not find or read directory

wrong or NULL argument passed

not enough free disk space

library not initialized

library already initialized

unable to lock database

could not open database

could not create database

database not initialized

database already registered

could not find database

invalid or corrupted database

invalid or corrupted database (PGP signature)

database is incorrect version

could not update database

could not remove database entry

invalid url for server

no servers configured for repository

transaction already initialized

transaction not initialized

duplicate target

transaction not initialized

transaction not prepared

transaction aborted

operation not compatible with the transaction type

transaction commit attempt when database is not locked

failed to run transaction hooks

could not find or read package

operation cancelled due to ignorepkg

invalid or corrupted package

invalid or corrupted package (checksum)

invalid or corrupted package (PGP signature)

package missing required signature

cannot open package file

cannot remove all files for package

package filename is not valid

package architecture is not valid

could not find repository for target

missing PGP signature

invalid PGP signature

invalid or corrupted delta

delta patch failed

could not satisfy dependencies

conflicting dependencies

conflicting files

failed to retrieve some files

invalid regular expression

libarchive error

download library error

gpgme error

error invoking external downloader

io error

null string error

utf8 decode error

unknown error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Error
[src]

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<u32> for Error
[src]

Performs the conversion.

impl From<NulError> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.