uclient: Add string error function