Function Subspace :: sus :: result :: err

template <class E>
auto err(E&& e) -> auto

Used to construct a Result<T, E> with an Err(e) value.

Calling err() produces a hint to make a Result<T, E> but does not actually construct Result<T, E>. This is to deduce the actual types T and E when it is constructed, avoid specifying them both here, and support conversions.