When an error occurs, you will receive an error object. Most of these errors contain an error code and an error message as JSON.
Next