Replaced error list type from List<Message> to List<String>