Module error

Module error 

Available on (crate features rustls or boring or acme) and crate feature boring only.
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.

§Examples

use rama_boring::error::ErrorStack;
use rama_boring::bn::BigNum;

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

Structs§

ErrLib
Error
A detailed error reported as part of an ErrorStack.
ErrorStack
Collection of Errors from OpenSSL.