Can we simplify this as:

`return response && response.error ? _getError(response.error) : _getError('GENERIC_ERROR');`