pub fn unwrap_register<E>(res: Result<(), E>, fatal: bool) where
    E: Into<Error>, 
Expand description

Destroys a unit result, registering the error if any.