Fixed error handling #42

Merged
merged 6 commits into from Sep 24, 2012

Conversation

Projects
None yet
3 participants
Contributor

kevinvangelder commented Sep 24, 2012

You were using the iOS error codes (https://www.parse.com/docs/ios_guide#errors) but Parse REST uses HTTP Status/Error Codes (http://en.wikipedia.org/wiki/List_of_HTTP_status_codes). I know this because in the REST API a 201 code is an HTTP status code not a "Password Missing" code. I've setup parse_resource to handle some of the more obvious codes but I'm not entirely sure how many of them the Parse REST API is using. I may submit a support request to them so they will add a list to their documentation.

adelevie added a commit that referenced this pull request Sep 24, 2012

@adelevie adelevie merged commit bb2222f into adelevie:master Sep 24, 2012

@qixotic qixotic referenced this pull request Jan 29, 2013

Closed

fix error message #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment