Updated front-end gift errCode handling.