Create an Err result wrapping error.
Err
error
error type
the error value to wrap
an Err<T, E> instance
Err<T, E>
Create an
Errresult wrappingerror.