Use error property of JSON return object