pub fn unwrap_register_non_fatal<E>(res: Result<(), E>) where E: Into<Error>,
Destroys a unit result, registering the error as fatal if any.