pub fn execute_main<T, E>(f: T) where
    T: FnOnce() -> Result<(), E> + UnwindSafe,
    E: ErrorWithBody + Display
Expand description

Executes CipherCore code such that all the internal errors are properly formatted and logged.

Arguments

f - closure without arguments containing CipherCore code and returning Result<()>