pub fn once_err<T, E>(value: E) -> OnceErr<T, E>
Creates an iterator that fails with a predetermined error exactly once.