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
It should allow the propagation of Error instead of wrapping it into a FrisbeeError.other(String) since it could potentially remove some important error properties
The text was updated successfully, but these errors were encountered:
I'm more inclined to not have a .other case altogether
It only wraps some unmapped Error on Frisbee's side, which could have an undesired extra mapping stage for whoever uses it
Although a favorable case would be that
"every error thrown by Frisbee is a FrisbeeError"
But Swift doesn't guarantee that in function throws, so the caller would still be dealing with generic Errors then have to convert them to FrisbeeError anyway
In
NetworkGetter.get
Errors
are caught and converted to aFrisbeeError
It should allow the propagation of
Error
instead of wrapping it into aFrisbeeError.other(String)
since it could potentially remove some important error propertiesThe text was updated successfully, but these errors were encountered: