Add errors to $error array