pub fn execute_assemble<R, E, F>(func: F) -> Option<R>where
    E: Display,
    F: FnOnce() -> Result<R, E>,
Expand description

Executes some function. If an error is returned by the function, then None is returned and the error is printed to the error output. Otherwise, Some(R) is returned.