Function execute_main

Source
pub fn execute_main<T, E>(f: T)
where T: FnOnce() -> Result<(), E> + UnwindSafe, E: 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<()>