map_err is like map , except it applies a function to the Err(...) value of a Result . In this case, we want to convert all of our errors to one type: String .
確定! 回上一頁