You are viewing Skygear v1 Documentation.Switch to Skygear v0 Documentation
Error Handling in SDK
Error handling
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.
Error codes
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.