Enum botan::Error[][src]

pub enum Error {
    BadAuthCode,
    BadFlag,
    BadParameter,
    ExceptionThrown,
    InsufficientBufferSpace,
    InvalidInput,
    InvalidObject,
    InvalidVerifier,
    InvalidKeyLength,
    KeyNotSet,
    NotImplemented,
    NullPointer,
    OutOfMemory,
    UnknownError,
    ConversionError,
}

Possible errors

Variants

A provided authentication code was incorrect

A bad flag was passed to the library

An invalid parameter was provided to the library

An exception was thrown while processing this request

There was insufficient buffer space to write the output

Something about the input was invalid

An invalid object was provided to the library

A verifier was incorrect

An key of invalid length was provided

An object was invoked without the key being set

Some functionality is not implemented in the current library version

A null pointer was incorrectly provided

Memory exhaustion

Some unknown error occurred

An error occured while converting data to C

Trait Implementations

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. 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 From<i32> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error