Converts the Result into an Option containing the error, if any. Otherwise returns None if the result is a value.
Result
Option
None
Future<Option<E>> err() => then((result) => result.err());