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
Are you writing your own response serializer? Could you post some more logic? I'm trying to understand what you're trying to do to figure out whether we should open that method up or not.
I am running into this issue as well while following the example in the README to implement a generic collection serializer. Modifying the function signature of errorWithCode to be a public static func seems to resolve this, though preliminary investigations don't seem to suggest that the static method needs to be explicitly set as public.
Thanks for the explanation gents. That was oversight on my part. I've opened up both errorWithCode:failureReason: methods in 85b90fe. This should resolve your issues. 👍🏼
When i try to use
let error = Error.errorWithCode(.DataSerializationFailed, failureReason: failureReason)
as suggested in the Readme i get 'Error.Type' does not have a member named 'errorWithCode'.
I am using Cocoapods.
The text was updated successfully, but these errors were encountered: