You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had a user report a bad error message from some Arti libraries on Android. The root cause of the problem was #83, but additionally, I felt that the error message from our library was too poor. (https://gitlab.torproject.org/tpo/core/arti/-/issues/ 989 999)
I investigated and found that the main reason the message was poor was because ProjectDirs::from simply returned None. So we had to make up our own, rather useless, error message.
IMO all the fallible functions should return Result. (This would be a semver-breaking change, obviously.)
The text was updated successfully, but these errors were encountered:
We had a user report a bad error message from some Arti libraries on Android. The root cause of the problem was #83, but additionally, I felt that the error message from our library was too poor. (https://gitlab.torproject.org/tpo/core/arti/-/issues/
989999)I investigated and found that the main reason the message was poor was because
ProjectDirs::from
simply returnedNone
. So we had to make up our own, rather useless, error message.IMO all the fallible functions should return
Result
. (This would be a semver-breaking change, obviously.)The text was updated successfully, but these errors were encountered: