Using exceptions internally in smartstore, but using NSError** in public apis