MINOR: Passing string to setErrors which is converted to array.