Error Handling in SDK
Whenever you perform an action that calls the server, there is chance the server rejects your request for various reasons. This guide demonstrate how should the errors be handled.
For example when you try to save a record to the database and without logging in, you get an error.
Detailed error code can be found in here. Each of them concisely describe the error, you should compare error against error codes if you want to handle them manually.