Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

Error Handling

edamerror error ios sdk

  • Please log in to reply
1 reply to this topic

#1 Dev-Work

Dev-Work

  • Pip
  • Title: Member
  • Group: Members
  • 1 posts

Posted 05 June 2012 - 08:01 PM

Hi,

I'm building an ios app and want to make sure I am handling the different types of errors correctly.

In this case I am creating a note. If i get any of the error codes below, I requeue the note creation. My logic is that if I get any of these error codes, there is nothing wrong with the note. Instead there is a problem with connectivity, the user account or the Evernote Service. I am storing the note to try to create it at another time.

My question is do I need to add or Remove any Edam error codes to this list?

EDAMErrorCode_INTERNAL_ERROR
EDAMErrorCode_LIMIT_REACHED
EDAMErrorCode_INVALID_AUTH
EDAMErrorCode_ENML_VALIDATION
EDAMErrorCode_QUOTA_REACHED
error.code == -3000 (offline error)

Thanks for your help.

#2 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 406 posts

Posted 05 June 2012 - 11:13 PM

Here is a complete list of all the error codes: http://dev.evernote....m_EDAMErrorCode





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Clip to Evernote