updated to handle new error description