Module openssl::error[][src]

Expand description

Errors returned by OpenSSL library.

OpenSSL errors are stored in an ErrorStack. Most methods in the crate returns a Result<T, ErrorStack> type.


use openssl::error::ErrorStack;
use openssl::bn::BigNum;

let an_error = BigNum::from_dec_str("Cannot parse letters");
match an_error {
    Ok(_)  => (),
    Err(e) => println!("Parsing Error: {:?}", e),


An error reported from OpenSSL.

Collection of Errors from OpenSSL.