errors.add takes one attribute