add errors instead of strings