Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMHTTPStatusCodeErrorKey should be used for unauthorized and unexpectedNoContent #59

Closed
lilyball opened this issue Mar 21, 2019 · 0 comments
Milestone

Comments

@lilyball
Copy link
Collaborator

The unauthorized and unexpectedNoContent errors each correspond to a specific status code. We should provide that status code in the bridged Obj-C error using PMHTTPStatusCodeErrorKey so that way Obj-C code can just test for that userInfo property directly to get the status code for any error that's related to status codes.

@lilyball lilyball added this to the Next milestone Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant